webknossos
webknossos copied to clipboard
When downloading with skipVolumeData, keep volume tag
URL of deployed dev instance (used for testing):
- https://volumeskipdataincludetag.webknossos.xyz
Steps to test:
- Download a volume annotation with and without the include-volume-data checkbox active
- The volume tag and its children (segments) should always be included
- in the skip-volume-data case, the
location
attribute should be omitted, and a comment added instead.
- [x] Updated (unreleased) changelog
- [ ] Adapted wk-libs python client if relevant API parts change (@jstriebel do you know if something needs to be adapted to handle the missing location attribute?)
- [x] Ready for review
Looks like this does break the download with skipVolumeData for libs versions 0.10.18 and 0.10.19. Do you think we should accept that and encourage users to upgrade? Or build a backwards compatible version of this? I’m hesitant to just make the location emptystring, maybe you have other ideas?
Thanks for having a look and thanks for pushing the change in the python client!
Do you think we should wait for some days before deploying this, so that more people would switch from 0.10.18 to 0.10.20? Or maybe it’s a rare enough case that it doesn’t make sense to wait?
Do you think we should wait for some days before deploying this, so that more people would switch from 0.10.18 to 0.10.20? Or maybe it’s a rare enough case that it doesn’t make sense to wait?
Let's just wait a couple of days, as this change is not pressing IMO. But in general I think that it should be quite rare, still.