Skip to content

Commit 61e3cec

Browse files
committed
correct locs location for nlocs
1 parent 5e8e2bf commit 61e3cec

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

picasso_workflow/tests/test_real_data_integration.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,15 @@ def test_minimal_pipeline_on_real_data(network_test_data, tmp_path):
176176
print(wr)
177177
print(wr.__dict__)
178178
print('locs')
179-
print(wr.locs)
179+
print(wr.autopicasso.locs)
180+
print(wr.results["01_identify"]["num_identifications"])
180181
assert result.get("success"), (
181182
f"localize did not succeed for {movie_path}"
182183
)
183-
n_locs = result.get("n_locs", 0)
184-
n_locs = len(wr.locs.index)
184+
n_locs = wr.results["01_identify"].get("num_identifications", 0)
185+
print("n_locs from results"j, n_locs)
186+
n_locs = len(wr.autopicasso.locs.index)
187+
print("n_locs from locs"j, n_locs)
185188
assert n_locs > 0, (
186189
f"No localisations found in {movie_path}; "
187190
"check that the file is a real DNA-PAINT acquisition"

0 commit comments

Comments
 (0)