Skip to content

'bitround' codec not registered #346

@miccoli

Description

@miccoli

Minimal, reproducible code sample

import numcodecs

codec = numcodecs.get_codec({"id": "bitround", "keepbits": 16})

fails with ValueError: codec not available: 'bitround' while

import numcodecs
from numcodecs.bitround import BitRound

numcodecs.register_codec(BitRound, codec_id="bitround")

codec = numcodecs.get_codec({"id": "bitround", "keepbits": 16})

is ok.

Problem description

BitRound is not yet properly registered: not sure if this is by pourpose or a minor glitch....

Version and installation information

Please provide the following:

  • Value of numcodecs.__version__: 0.10.1
  • Version of Python interpreter: 3.10.4
  • Operating system (Linux/Windows/Mac): Linux/Mac
  • How NumCodecs was installed: "using pip into virtual environment"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions