webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

When downloading with skipVolumeData, keep volume tag

Open fm3 opened this issue 2 years ago • 3 comments

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

fm3 avatar Oct 19 '22 08:10 fm3

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?

fm3 avatar Oct 19 '22 08:10 fm3

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?

fm3 avatar Oct 22 '22 09:10 fm3

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.

jstriebel avatar Oct 24 '22 08:10 jstriebel