Skip to content
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

Fix Volume Annotation Download (data.zip contained only headers) #7323

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
### Fixed
- Fixed that the deletion of a selected segment would crash the segments tab. [#7316](https://github.com/scalableminds/webknossos/pull/7316)
- Fixed reading sharded Zarr 3 data from the local file system. [#7321](https://github.com/scalableminds/webknossos/pull/7321)
- Fixed no-bucket data zipfile when downloading volume annotations. [#7323](https://github.com/scalableminds/webknossos/pull/7323)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ trait BucketKeys extends WKWMortonHelper with WKWDataFormatHelper with LazyLoggi
protected def parseBucketKey(key: String,
additionalAxes: Option[Seq[AdditionalAxis]]): Option[(String, BucketPosition)] =
additionalAxes match {
case Some(value) => parseBucketKeyWithAdditionalAxes(key, value)
case None => parseBucketKeyXYZ(key)
case Some(value) if value.nonEmpty => parseBucketKeyWithAdditionalAxes(key, value)
case _ => parseBucketKeyXYZ(key)
}

private def parseBucketKeyXYZ(key: String) = {
Expand Down