Skip to content

Unsupported-format error omits the writable format 212 #778

Done

Description

@tompollard

When asked to write an unsupported format, the writer raises:

ValueError: This library currently only supports writing the following formats: 80, 16, 24, 32, 508, 516, 524

That list leaves out 212, which is writable: writing sample-data/100 (format 212) works and round-trips. The message should list 212 too, ideally by building the list from the same constant the check uses, so the two can't drift apart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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