airr-standards icon indicating copy to clipboard operation
airr-standards copied to clipboard

Validate AIRR objects against AIRR validation 'levels'

Open jday1 opened this issue 2 years ago • 0 comments

MiAIRR has 3 levels of compliance.

- essential
- important
- defined

And I would argue, implied is a 4th level which is none. I.e. the AIRR object is not MiAIRR Compliant.

I want to introduce logic to check an AIRR object against each of the 4 levels of compliance which does not currently exist.

I.e. the end goal is to have a validate_object function which looks like

def validate_object(self, obj, missing=True, nonairr=True, context=None, miairr_compliance_level="essential"):

This would allow a user to validate the compliance level of their AIRR object.

The first step in this for Synteny is to allow the case where MiAIRR compliance is not met. This is done is PR https://github.com/airr-community/airr-standards/pull/724

jday1 avatar Aug 22 '23 14:08 jday1