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

CellWorX: fix plate name and dimensions #2731

Merged
merged 2 commits into from
Jan 22, 2017

Conversation

melissalinkert
Copy link
Member

This fixes the CellWorX plate naming bug reported by @pwalczysko and @dominikl in ome/openmicroscopy#4992 (comment).

The test dataset is data_repo/curated/cellworx/pki/SKMEL28_10K_1.HTD. Without this PR, showinf -nopix -omexml SKMEL28_10K_1.HTD should show OME-XML with a Plate Name set to pki (the folder containing the dataset). No other attributes on Plate will be present apart from ID.
Moving or copying the .HTD and *.pnl files to a different containing folder and repeating the test should show that the Plate Name changes to match the containing folder name.

With this PR, the same showinf test should indicate that the plate name is always SKMEL28_10K_1, regardless of the containing folder name. The Rows and Columns attributes on Plate should also be set to 8 and 12 respectively.

store.setPlateName(plate.getName(), 0);

plateName = plate.getName();
if (plateName.indexOf(".") > 0) {
Copy link
Member

Choose a reason for hiding this comment

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

can use char version '.'

@dominikl
Copy link
Member

Works like expected 👍

@sbesson sbesson merged commit cd9fcb8 into ome:develop Jan 22, 2017
@sbesson sbesson modified the milestone: 5.3.3 Jan 22, 2017
@melissalinkert melissalinkert deleted the cellworx-plate-name branch April 29, 2017 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants