Skip to content

Commit a6efb3f

Browse files
committed
Fix boolean input logic
1 parent 14a997a commit a6efb3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/imcflibs/imagej/bioformats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def get_series_info_from_ome_metadata(path_to_file, skip_labels=False):
405405

406406
reader, ome_meta = get_reader(path_to_file, skip_labels)
407407
series_count = reader.getSeriesCount()
408-
if skip_labels:
408+
if not skip_labels:
409409
# If we are not skipping labels, return the full range
410410
return series_count, range(series_count)
411411

0 commit comments

Comments
 (0)