()
| 104 | |
| 105 | @pytest.fixture(scope="function") |
| 106 | def real_assemblies_montblanc(): |
| 107 | with open(os.path.join(TEST_DATA_DIR, "montblanc_assemblies.pickle"), "rb") as file: |
| 108 | temp = pickle.load(file) |
| 109 | single = temp.pop("single") |
| 110 | data = np.full((max(temp) + 1, 3, 4, 4), np.nan) |
| 111 | for k, assemblies in temp.items(): |
| 112 | for i, assembly in enumerate(assemblies): |
| 113 | data[k, i] = assembly |
| 114 | return inferenceutils._parse_ground_truth_data(data), single |
| 115 | |
| 116 | |
| 117 | @pytest.fixture(scope="function") |