Skip to content

Commit 745fc61

Browse files
Return name and not the entire path
1 parent 5c8482e commit 745fc61

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/imcflibs/imagej/bioformats.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,7 @@ def get_stage_coords(filenames):
569569
if series_count > 1 and not str(image).endswith(".vsi"):
570570
series_names.append(ome_meta.getImageName(series))
571571
else:
572-
series_names.append(str(image))
573-
572+
series_names.append(os.path.basename(str(image)))
574573
current_position_x = getattr(
575574
ome_meta.getPlanePositionX(series, 0), "value", lambda: 0
576575
)()

0 commit comments

Comments
 (0)