-
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
Ngio projection #866
Ngio projection #866
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
This is great @lorenzocerrone ! A few brief questions: Have you tried running this projection task on a zyx dataset (no channel or time dimension)? Also, would we expect this task to already work with time-data, e.g. an tczyx dataset? How much we should test in tasks-core? Can we add an option to copy over additional tables (e.g. user can deactivate that, but we copy non-roi tables by default). We'd keep them & ignore edge-cases (like missing label images) for now. TODO Joel: provide example dataset of condition tables for this. TODO for myself:
|
new_image.consolidate() | ||
# Ends | ||
|
||
# Copy over the tables |
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.
Naive question by someone who is not involved in ngio development/integration: where does this feature fit best?
Would it make sense to have something like
ngio.copy_tables(original_ngff_image, new_ngff_image, project_z=True)
or at least
ngio.copy_tables(original_ngff_image, new_ngff_image)
# and then set `z_length` manually
or would it be just additional complexity?
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.
The responsability of copying the tables is now moved to the NgffImage.derive_new_image
method.
Thanks @lorenzocerrone! |
I confirm that setting both |
I added the logic now for updating the plate name and verified this by running the tasks in the Fractal containers. It now works as expected, the MIP Zarrs have a different plate name and depending on the plate name one selects, the correct plate viewer is shown with the vizarr plate loading. Thus, all my checks for this PR are done. @lorenzocerrone I summarize here what still remains before this can be merged, so hopefully it will be easier to keep an overview over that afterwards :)
|
I think this should be handled in a separate PR |
The new version of the task has been tested with:
|
…rm/fractal-tasks-core into ngio-projection
@tcompa the PR is ready for review, but there is an error in the coverage CI. I am not sure what the issue is. Could you please give it a look? |
Checklist before merging
CHANGELOG.md