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

Python API and CLI tools for working with WEBKNOSSOS datasets, annotations and server interactions. Includes converter to OME-Zarr.

Results 187 webknossos-libs issues
Sort by recently updated
recently updated
newest added

We use context-vars to manage the webknossos-url and tokens for the client. This should still work in executors. From the https://github.com/scalableminds/webknossos-libs/pull/452#discussion_r729619271: > By default, it seems like contextvars are not...

Instead, get_logger(__name__) should be used, similar to what we already do in voxelytics. This should have the benefit that logging can be selectively disabled

If input images are too big to hold 32 of them in RAM, we currently have to reduce the batch size below 32 which makes cubing way slower. Some sort...

- Update to `1.8.0` (or newer) - There might be an error such as `cattr.errors.StructureHandlerNotFoundError: Unsupported type: typing.Union[int, wkcuber.mag.Mag]. Register a structure hook for it` - The hooks might be...

see https://pypi.org/project/readlif/

enhancement

Currently, the `PillowImageReader` crops input dtypes into the output dtypes, while all other `ImageReader`s scale the value range of the input dtype to the output dtype.

The conversion detection can currently only detect plain image stacks. Additionally, tiled image stacks should be recognized, too. This could be done inside the existing `detect_dataset_name_and_layer_path_to_layer_name` function of the `ImageStackConverter`.

Now, using slurm requires `--distribution_strategy slurm --job_resources '{"time":"01:00:00","mem":"32G"}'`. Frankly, this is a lot to type. How about a convenience shorthand: `--slurm time=01:00:00,mem=32G`?

enhancement

We have some magic numbers in the code base, but the problematic one is 32. In several places, it's hardcoded which is confusing and often times problematic, since the actual...

bug
refactoring

This issue is about displaying a better error message if an empty folder is present during a metadata refresh using wkcuber. I got the error message disaplyed in the last...