-
Notifications
You must be signed in to change notification settings - Fork 13
Add method to download meshes #1307
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
Conversation
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
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 for looking into this! I added a couple of comments.
Additionally: is there an exposed way to download meshes from datasets (without annotation?) Maybe a similar method could be added to wk.Dataset? On the other hand, I’d say the Tracingstore class with its download_mesh
may not have to be user-facing.
What do you think?
webknossos/webknossos/client/api_client/datastore_api_client.py
Outdated
Show resolved
Hide resolved
webknossos/webknossos/client/api_client/tracingstore_api_client.py
Outdated
Show resolved
Hide resolved
webknossos/webknossos/client/api_client/_abstract_api_client.py
Outdated
Show resolved
Hide resolved
What exactly should be downloaded from a dataset without annotation? I thought we always want to download a certain segment. Does a dataset have segments if there is no annotation? |
Yes, this is somewhat specific to the webknossos terminology, but “on-disk” segmentation layers are not directly counted as annotations. Yes, volume annotation layers can have such segmentation layers as fallback layers, but no annotation object is required to see segments and their meshes. As long as a dataset has a layer of category segmentation, and a meshfile, this should be possible. |
I am not sure if I understand it completely. I added the download_mesh method to the remote_dataset class.
Does this mean AdHoc meshes are not possible for a dataset with segmentation layer? Another question is if downloading a mesh from a dataset is also possible with a tracing_id or just with the Datastore? |
AdHoc meshing is also possible, true, I missed that case in my post above.
Just with the datastore, not by tracing_id. As discussed internally, I will take over this PR going forward. Thanks for your effort! I think it’s already very close to being complete. |
Description:
Issues:
Todos:
Make sure to delete unnecessary points or to check all before merging: