-
Notifications
You must be signed in to change notification settings - Fork 26
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
Disable editing of super voxel skeletons in skeleton mode #7086
Conversation
… and removal in proofreading mode. Better error messages.
@philippotto It would be great to get some feedback from you regarding the general approach. If you agree that this is how we should do it, we need to make sure that the |
Awesome 💯 I think, this approach is the right one 👍 I looked through the changes and only noticed smaller stuff mostly. What is your opinion about the trees of the connectome tab? We should probably port them to the new approach, too? But maybe not in this PR? Regarding the todos:
👍
I think, this would be cool and probably not too much effort. Alternatively, one could ignore non-default trees during export..
I think, this would be very useful. A special icon (plus tooltip) might be enough. Alternatively, the agglomerate skeletons could be rendered in the segments-tab under their respective segments. However, that's probably a bit more effort. Not sure whether it's worth it?
Sounds like a nice-to-have to me.
Kudos for doing that 🎩 🎉 |
Co-authored-by: Philipp Otto <[email protected]>
…n. Include tree type in NML in frontend. Improve typing for coalesce function.
…ofreading-skeleton-modification
@fm3 As discussed yesterday, this PR introduces a There are few small backend-related changes needed for this PR:
@philippotto If you have suggestions regarding the naming of the property or the enum values, this would be a good time to raise them :) |
Do any of you know whether the libs need to be updated to cope with the tree type property or whether they ignore unknown properties? |
I'm fine with the current suggestions :) However, I'm not sure whether the word
I didn't test it, but this code here strongly looks like it wouldn't care: I think I also remember that we added other properties in the past and didn't take any precautions against other parsers (e.g., matlab ones). |
@daniel-wer I added the type attribute in the skeleton protobuf, update actions and nml. I did not test it yet, as the front-end update actions are not yet adapted. please have a look :) Note that the front-end NML export/import should probably also handle the new attribute. Also note that it is an optional attribute for backwards compatibility. It is also usually not set (and thus also not serialized to NML). The code should be able to handle that. Please ping me if you need anything else! |
Thank you @fm3!
All of that should already be implemented :) I added the type to the update actions and everything seems to work well from my testing.
@philippotto Great, thanks for looking it up 🙏
It doesn't seem to cause any issues in javascript or scala. Since Python doesn't have object destructuring, it shouldn't pose any issue there, too. Most of the time, it's probably a good idea to name resulting variables |
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.
Awesome, works really great 👍 Only commented nitpicks. Also, I noticed one tangential: The clear-byproducts button in the toolbar has this tooltip: Clear auxiliary skeletons and meshes that were loaded while proofreading segments. However, this button doesn't remove any skeletons. Not sure when this diverged from the actual behavior, but could you remove "skeletons and " from that string?
Co-authored-by: Philipp Otto <[email protected]>
…ofreading-skeleton-modification
…bleminds/webknossos into proofreading-skeleton-modification
…esign-right-sidebar * 'master' of github.com:scalableminds/webknossos: Create bounding box by dragging with box tool (#7118) Prevent 'negative' buckets from being created (#7124) Lazy load onnx and canvas2html module (#7121) Disable editing of super voxel skeletons in skeleton mode (#7086) add missing evolution to migration guide (#7126) Change sttp backend to HttpURLConnectionBackend (#7125) Implement Zarr v3 and sharding codec (#7079) Fix decompression of garbage data after valid gzip data causing decompression to fail (#7119) When scanning volume buckets, skip those with unparseable key (#7115)
TODO:
[ ] [Optional] Allow to convert agglomerate skeletons to freely modifiable treesURL of deployed dev instance (used for testing):
Steps to test:
Issues:
(Please delete unneeded items, merge only when none are left open)