Skip to content

BufferedSliceWriter Erroneous on Mags > 1 #1168

@Tobias314

Description

@Tobias314

Context

  • Affected library: e.g. webknossos
  • Creating a BufferedSliceWriter for a mag view with mag > 1 and an offset != 0 does not seem to work correctly

Expected Behavior

  • Correctly writing the data

Current Behavior

  • Data is written with wrong offset

Possible Fix:

Change line 199
from
absolute_bounding_box=chunk_bbox.from_mag_to_mag1(self._view._mag)
to
absolute_bounding_box=chunk_bbox

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions