-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
for more information, see https://pre-commit.ci
.github/workflows/run-tests.yml
Outdated
@@ -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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove here?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restored.
There was a problem hiding this 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.
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.