Skip to content

Wrong error message when a non-valid sequencing instrument model is given #851

@Shettland

Description

@Shettland

The resulting error message is not the correct one when the Sequencing Instrument Model field is provided with a value that does not allow unambiguous inference of the Sequencing Instrument Platform. As a result, the following error is raised:

sequencing_instrument_platform:
Error in column Sequencing Instrument Platform:
'Sequencing Instrument Platform' is a required property

This error occurs because the pipeline attempts to automatically derive the Sequencing Instrument Platform from the Sequencing Instrument Model. If the model value is incomplete, non-standard, or ambiguous (e.g. "MinION" instead of "Oxford Nanopore MinION"), the platform (e.g. "Oxford Nanopore") cannot be reliably extracted, and the required field remains unset.

The correct error should be something like "Minion is not a valid enum"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions