Skip to content

Commit

Permalink
Fix iss test
Browse files Browse the repository at this point in the history
adjust assumption on number of detected cells
  • Loading branch information
iimog committed Nov 23, 2023
1 parent fecec0d commit b61b62e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions starfish/test/full_pipelines/api/test_iss_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def test_iss_pipeline_cropped_data(tmpdir):

masks = iss.masks

# segmentation identifies only one cell
assert len(iss.watershed_markers) == 6
# segmentation identifies four cells
assert len(iss.watershed_markers) == 4

# assign targets
lab = AssignTargets.Label()
Expand Down Expand Up @@ -143,4 +143,4 @@ def test_iss_pipeline_cropped_data(tmpdir):
# test that nans were properly removed from the expression matrix
assert 'nan' not in expression_matrix.genes.data
# test the number of spots that did not decode per cell
assert np.array_equal(expression_matrix.number_of_undecoded_spots.data, [13, 1, 0, 36])
assert np.array_equal(expression_matrix.number_of_undecoded_spots.data, [13, 1, 36])

0 comments on commit b61b62e

Please sign in to comment.