webknossos-libs icon indicating copy to clipboard operation
webknossos-libs copied to clipboard

Fix merging annotations with compressed fallback layers

Open erjel opened this issue 1 year ago • 0 comments

Description:

If an annotation is merged with a compressed fallback layer, the bounding box of the output_mag needs to account for compressed shard writes outside the original bounding box beforehand. If the bounding box is not adapted accordingly prior to concurrent calls of merge_chunk, the merge operation will corrupt the target dataset properties and result in a JSONDecodeError.

Todos:

Make sure to delete unnecessary points or to check all before merging:

  • [x] Updated Changelog
  • [x] Updated Documentation -> not applicable
  • [x] Added / Updated Tests
  • [x] Considered adding this to the Examples -> not applicable

erjel avatar Sep 09 '24 11:09 erjel