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

Extend HCS label parsing #189

Merged
merged 11 commits into from
Oct 31, 2023
Merged

Extend HCS label parsing #189

merged 11 commits into from
Oct 31, 2023

Conversation

ieivanov
Copy link
Contributor

This PR extend HSC site label parsing with the format like 1-Pos000_000

@ieivanov ieivanov requested a review from ziw-liu September 25, 2023 18:21
@ziw-liu
Copy link
Collaborator

ziw-liu commented Sep 25, 2023

Can you modify the failing test case to reflect the expected behavior?

@ieivanov
Copy link
Contributor Author

Can I defer this to you? I think in the MM20_ome-tiffs collection there are datasets that use the 1-Pos000_000 name format.

also strips leading zeros
so that the FOV names start with '0'
and is compatible with napari-ome-zarr
@ziw-liu ziw-liu requested a review from edyoshikun September 27, 2023 22:16
@ziw-liu ziw-liu added enhancement New feature or request μManager Micro-Manager files and metadata labels Sep 27, 2023
@ieivanov
Copy link
Contributor Author

ieivanov commented Oct 25, 2023

The tests occasionally fail because test_converter_ometiff_hcs_numerical samples from MM20_ome-tiffs and enforces hcs format (hcs_plate=True) even though some datasets in that collection do not have more than one position - fixed.

iohub/convert.py Outdated Show resolved Hide resolved
@ieivanov
Copy link
Contributor Author

@edyoshikun @ziw-liu let's try to merge this today, we'll likely need to use this branch to reconstruct the data from tomorrow's experiment. This branch will also fix the failing tests in the main branch.

Copy link
Collaborator

@ziw-liu ziw-liu left a comment

Choose a reason for hiding this comment

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

@edyoshikun can you take a look at the proposed behavior and confirm it does not break your workflow?

Copy link
Contributor

@edyoshikun edyoshikun left a comment

Choose a reason for hiding this comment

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

This does not break my workflow since we still support the original '0/0/0' position. It can also adapt to this

@ieivanov ieivanov merged commit f5b2e72 into main Oct 31, 2023
7 checks passed
@ziw-liu ziw-liu deleted the extend_hcs_parsing branch November 1, 2023 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request μManager Micro-Manager files and metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants