sorting bug in ij.plugin.FolderOpener?
Posted by Xavier Tizon on Mar 23, 2007; 11:19am
URL: http://imagej.273.s1.nabble.com/sorting-bug-in-ij-plugin-FolderOpener-tp3699965.html
Hi all,
There seems to be a bug in FolderOpener. I tried to import a sequence
of NEMA images (using File\Import\Image Sequence...), and I tested the
sorted versus non-sorted version of the returned file list (by
commenting the following line in FolderOpener and displaying the
result) :
list = sortFileList(list);
The two lists are different, which does not seem strange, but the
unsorted list is sorted according to conventions, and the sorted list
is not. Anybody seen this before?
Two important details: my file names are especially long, and they are
not all the same length. I noticed those 2 properties were tested in
the code, but I could not reproduce the problem with simpler file
names.
Thanks in advance for any help,
Xavier