Skip to content

Linting a module with faulty ontology entry results in unspecific error message #3846

@jfy133

Description

@jfy133

Description of the bug

Linting a module with the following 'fault' ontology string:

          ontologies:
            - http://edamontology.org/format_1975 # GFF3 format

(missing the edam: bit before the URL)

Gives an error of:

meta_yml_valid: The meta.yml of the module bakta/bakta is not valid: 'http://edamontology.org/format_1370' is not of type 'object'. Check the entry for hmms.

This error message is not useful in that it seems to have a generic error 'not of type 'object' , and the link to the meta_yml_valid check docs, the information there makes no reference to the specific 'rule' that has been invalidated.

At a minimum, this page should list all the specific checks this test is checking for, but also a specific error message when the ontology name prefix is missing would be helpful.

Command used and terminal output

System information

No response

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