Task #12809 (closed)
RFE: ND2 series naming/sorting
Reported by: | dlindner | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | 5.1.1 |
Component: | Bio-Formats | Version: | 5.0.8 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
The names of ND2 series should be preceded by zeros, so that they are ordered in correct way. At the moment they are named "(series 1)", "(series 2)", ... Both clients use simple string sorting, which results in the order: 1, 10, 11, ..., 19, 2, 20, 21, ...
This could be dealt with at the import level be preceding with zeros (check side effects on other nd2 files) or leaving as it is and do a more clever sorting on the client side (has to be also taken into account for scripts like Dataset-to-Plate).
See https://www.openmicroscopy.org/community/viewtopic.php?f=13&t=7774#p15541
(Example file: QA 10945)
Change History (4)
comment:1 Changed 9 years ago by mlinkert
- Component changed from General to Bio-Formats
- Owner set to mlinkert
comment:2 Changed 9 years ago by mlinkert
- Milestone changed from Unscheduled to 5.1.1
comment:3 Changed 9 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 9 years ago by Melissa Linkert <melissa@…>
- Remaining Time set to 0
(In [97f2315857a2a4ee3b01ec20f15063833287c382/bioformats.git] on branch develop) ND2: make series names the same length
This adds 0-padding to make the index lengths equal, which should make
the series list easier to read when sorted alphanumerically.
Fixes #12809.
Likely the easiest thing is to change what NativeND2Reader passes to setImageName in MetadataStore?. Changing the component accordingly.