Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various minor import fixes #777

Merged
merged 9 commits into from Nov 11, 2013

Conversation

Channels are now detected correctly.  If the original file passed to
setId is a "d" channel (i.e. original image), then only "d" channels
will be included in the used file list.  If the file passed to setId is
an "o" channel (i.e. analysis results), then only "o" channels will be
included in the used file list.

Fixes #11148.
For linescans in particular, the Z size is stored in the 'size' field,
not the 'start' attribute.

Fixes ticket #11513.
This allows datasets with thousands of files to be opened without
causing the JVM to run out of file handles.

Fixes ticket #10971.
String well = getWellName(filename);
int start = well.indexOf(channelCharacter) + 1;
if (start == 0) {
start = well.indexOf(channelCharacter) + 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that going to be any different?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed now.

@bpindelski
Copy link

After importing the 10000 TIFFs into ImageJ (ticket 10971) I don't get an error, but scrolling through the Z sections gives me an "File not found: Frame3_000416.tif" after element number 415. Is this expected? The import finished without the bug described in 10971.

@bpindelski
Copy link

For ticket 11513, the dimensions are reported OK:

Width = 2048
Height = 1
SizeZ = 25
SizeT = 1
SizeC = 2

@bpindelski
Copy link

For ticket 11148, the screen imports fine in Insight and no images land in the Orphaned images folder.

@bpindelski
Copy link

For ticket 11286, I still get an NPE (FlexReader.java:625) when trying to import the .flex file. Only happens in Fiji though. ImageJ is fine.

@bpindelski
Copy link

For 11509, the image scale is reported as 0.74 x 0.74 microns. Seems fine.

@bpindelski
Copy link

@melissalinkert All in all, looks good to merge. I couldn't get through testing ticket 11286 in Fiji. Maybe someone else will be better than me at that.

@melissalinkert
Copy link
Member Author

@bpindelski: testing PRs in Fiji requires replacing about a dozen different jars and then being careful not to run the updater - dropping loci_tools.jar into the plugins folder isn't going to work. As long as ticket 11286 works in ImageJ, that's sufficient as far as I'm concerned.

@melissalinkert
Copy link
Member Author

Also, the "File not found" images for ticket 10971 are expected; those files were exported from somewhere else, and most of the images actually are just plain gray with the text "File not found" and the plane number.

@bpindelski
Copy link

@melissalinkert That explains it all then (-: Thanks.

@bpindelski
Copy link

Retested importing a Cellomics screen. All looks fine. Good to merge.

@melissalinkert
Copy link
Member Author

@mtbc
Copy link
Member

mtbc commented Nov 11, 2013

Code change looks good and http://hudson.openmicroscopy.org.uk/view/Bio-Formats/job/BIOFORMATS-full-repository-develop/557/ is green so good to merge.

melissalinkert added a commit that referenced this pull request Nov 11, 2013
@melissalinkert melissalinkert merged commit 9157841 into ome:develop Nov 11, 2013
@melissalinkert
Copy link
Member Author

--rebased-to #815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants