Skip to content

Commit

Permalink
shape should have length 4
Browse files Browse the repository at this point in the history
  • Loading branch information
zoccoler committed Apr 24, 2024
1 parent d8cdaa9 commit 8c89d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napari_clusters_plotter/_tests/test_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_plotter_on_labels2d_timelapse(make_napari_viewer):
data_2d_timelapse = np.expand_dims(
data_2d_timelapse, axis=1
) # add unidimensional z axis
assert len(data_2d_timelapse) == 4
assert len(data_2d_timelapse.shape) == 4
# Create some random features
label_column = np.tile(np.arange(1, n_labels + 1), n_timepoints)
feature1 = np.random.normal(size=n_labels * n_timepoints)
Expand Down Expand Up @@ -200,7 +200,7 @@ def test_plotter_on_labels3d_timelapse(make_napari_viewer):
for t in range(n_timepoints)
]
)
assert len(data_3d_timelapse) == 4
assert len(data_3d_timelapse.shape) == 4
# Create some random features
label_column = np.tile(np.arange(1, n_labels + 1), n_timepoints)
feature1 = np.random.normal(size=n_labels * n_timepoints)
Expand Down

0 comments on commit 8c89d55

Please sign in to comment.