Task #9273 (closed)
Bug: Import of images with numeric file names
Reported by: | cblackburn | Owned by: | mlinkert |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | Import | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, mlinkert, jamoore, cxallan |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2012-07-17 (19) |
Description
See: https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=1222
It looks like files with names consisting solely of numerals are failing to import when using a Windows client. I have not yet investigated further to discover if this is an Insight or bio-formats problem.
Change History (8)
comment:1 Changed 12 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.4
comment:2 Changed 12 years ago by mlinkert
Colin, could you please put the files in question up somewhere where I can take a look at them? I wasn't able to reproduce the problem in a simple test of copying a TIFF from test_images_good to files named A1.tiff and 1.tiff.
Usually "File Not Valid" means that the file is empty, so it would be worth checking that the MD5s match and that 1.tiff actually contains data.
comment:3 Changed 12 years ago by cblackburn
Melissa, the files are on squig under team/ForMelissa/MLB tiffs . I did an md5 and the files were identical. I also spent some time renaming and trying to import files. So, for instance, 1.tif, 2.tif and 12345.tif all failed. A1.tif and 2A.tif imported. There is no problem, as far as I can see on a Mac. This problem is only using Insight on Windows (gre-mporter) both 4.3.3 and 4.4 RC1. I have not tested against a Linux client and I haven't tested cli import on any platform.
comment:4 Changed 12 years ago by mlinkert
- Component changed from General to Import
- Owner set to mlinkert-x
- Sprint set to 2012-07-17 (19)
Thanks Colin. The problem does indeed only occur on Windows, and I think it's due to an incorrect file name comparison in the parse(...) method of the Groups class in ImportCandidates?.java. I don't know yet if the root cause is in Bio-Formats (it could well be), but I'll investigate further later today.
comment:5 Changed 12 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
comment:6 Changed 12 years ago by mlinkert
- Resolution fixed deleted
- Status changed from closed to reopened
It works for just 1.tif and A1.tif, but if we copy 1.tif to 2.tif then both 1.tif and 2.tif fail to import.
comment:7 Changed 12 years ago by mlinkert
- Resolution set to fixed
- Status changed from reopened to closed
comment:8 Changed 12 years ago by rleigh
Tested OK for me on gre-mporter.
Just moving to 4.4 so it gets at least one good looking at.