Skip to content

Validation behaviour and (other's) CV term compatibility with our metric requirements #322

@mwalzer

Description

@mwalzer

How do we, on a validation level, deal with 'grafted' CV terms for use in mzQC using the full depth of mzQC json data modelling?
Consider this metric, which has a unit added which is not explicitly contained in the definition of the term.

          {
            "accession": "MS:1003251",
            "name": "count of identified spectra",
            "description": "The number of spectra that pass the threshold to be considered identified with sufficient confidence.",
            "value": 24765,
            "unit": {
              "accession": "UO:0000189",
              "name": "count unit"
            }
          }

Of course the 'count' value is of obvious 'count unit', so one might argue it superfluous, but can you imagine not-so-obvious or outright ambiguous scenarios (seconds vs minutes)?

At the moment, the validation will:
INFO: Metric value undefined unit - Metric CV term used value unit without specification in CV. accession(s) = MS:1003251

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