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

Change criteria for volumetric in Bruker tiff extractor #342

Merged
merged 4 commits into from
Jun 11, 2024

Conversation

h-mayorquin
Copy link
Collaborator

This should fix #341

As described in #341 the current criteria that we use to determine if an image is volumetric is wrong.
mhturner proposed what I think is a very simple solution which I have implemented here. This fetches the sequence type and uses a simple dictionary to determine the nature of the data.

I tested this on volumetric data that I got from the Clandinin lab and this seems to be working.

@h-mayorquin h-mayorquin added the bug Something isn't working label Jun 10, 2024
@h-mayorquin h-mayorquin self-assigned this Jun 10, 2024
@@ -38,7 +38,7 @@ jobs:
run: pytest tests/test_internals -n auto --dist loadscope

- name: Test full installation (-e needed for codecov report)
run: pip install -e .[full]
run: pip install .[full]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was left from another change. Mistake of mine.

That said, at some point we should remove those, they are not really necessary in the tests not even for codecov but that should be a separate PR. Let me remove.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Restored.

Copy link
Contributor

@weiglszonja weiglszonja left a comment

Choose a reason for hiding this comment

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

Thanks @h-mayorquin, I just had a comment on a change not sure is related here.

@h-mayorquin h-mayorquin merged commit 40629f1 into main Jun 11, 2024
29 checks passed
@h-mayorquin h-mayorquin deleted the change_bruker_volumetric branch June 11, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Incorrect bruker metadata parsing for single plane imaging
2 participants