@@ -358,6 +358,45 @@ class ScottScoreRanges(BrnichScoreRanges, SavedScottScoreRanges):
358358 research_use_only : bool = False
359359
360360
361+ ##############################################################################################################
362+ # Fayer score range models
363+ ##############################################################################################################
364+
365+
366+ class FayerScoreRangesBase (BrnichScoreRangesBase ):
367+ title : str = "Fayer calibration"
368+ research_use_only : bool = False
369+
370+
371+ class FayerScoreRangesModify (BrnichScoreRangesModify , FayerScoreRangesBase ):
372+ title : str = "Fayer calibration"
373+ research_use_only : bool = False
374+
375+
376+ class FayerScoreRangesCreate (BrnichScoreRangesCreate , FayerScoreRangesModify ):
377+ title : str = "Fayer calibration"
378+ research_use_only : bool = False
379+
380+
381+ class FayerScoreRangesAdminCreate (ScoreRangesAdminCreate , FayerScoreRangesCreate ):
382+ pass
383+
384+
385+ class SavedFayerScoreRanges (SavedBrnichScoreRanges , FayerScoreRangesBase ):
386+ record_type : str = None # type: ignore
387+
388+ title : str = "Fayer calibration"
389+ research_use_only : bool = False
390+ primary : bool = False
391+
392+ _record_type_factory = record_type_validator ()(set_record_type )
393+
394+
395+ class FayerScoreRanges (BrnichScoreRanges , SavedFayerScoreRanges ):
396+ title : str = "Fayer calibration"
397+ research_use_only : bool = False
398+
399+
361400##############################################################################################################
362401# IGVF Coding Variant Focus Group (CVFG) range models
363402##############################################################################################################
@@ -574,6 +613,7 @@ class ZeibergCalibrationScoreRanges(ScoreRanges, SavedZeibergCalibrationScoreRan
574613class ScoreSetRangesBase (BaseModel ):
575614 investigator_provided : Optional [InvestigatorScoreRangesBase ] = None
576615 scott_calibration : Optional [ScottScoreRangesBase ] = None
616+ fayer_calibration : Optional [FayerScoreRangesBase ] = None
577617 zeiberg_calibration : Optional [ZeibergCalibrationScoreRangesBase ] = None
578618 cvfg_all_variants : Optional [IGVFCodingVariantFocusGroupControlScoreRangesBase ] = None
579619 cvfg_missense_variants : Optional [IGVFCodingVariantFocusGroupMissenseScoreRangesBase ] = None
@@ -586,6 +626,7 @@ def score_range_labels_must_be_unique(self: "ScoreSetRangesBase") -> "ScoreSetRa
586626 self .investigator_provided ,
587627 self .zeiberg_calibration ,
588628 self .scott_calibration ,
629+ self .fayer_calibration ,
589630 self .cvfg_all_variants ,
590631 self .cvfg_missense_variants ,
591632 ):
@@ -610,6 +651,7 @@ def score_range_labels_must_be_unique(self: "ScoreSetRangesBase") -> "ScoreSetRa
610651class ScoreSetRangesModify (ScoreSetRangesBase ):
611652 investigator_provided : Optional [InvestigatorScoreRangesModify ] = None
612653 scott_calibration : Optional [ScottScoreRangesModify ] = None
654+ fayer_calibration : Optional [FayerScoreRangesModify ] = None
613655 zeiberg_calibration : Optional [ZeibergCalibrationScoreRangesModify ] = None
614656 cvfg_all_variants : Optional [IGVFCodingVariantFocusGroupControlScoreRangesModify ] = None
615657 cvfg_missense_variants : Optional [IGVFCodingVariantFocusGroupMissenseScoreRangesModify ] = None
@@ -618,6 +660,7 @@ class ScoreSetRangesModify(ScoreSetRangesBase):
618660class ScoreSetRangesCreate (ScoreSetRangesModify ):
619661 investigator_provided : Optional [InvestigatorScoreRangesCreate ] = None
620662 scott_calibration : Optional [ScottScoreRangesCreate ] = None
663+ fayer_calibration : Optional [FayerScoreRangesCreate ] = None
621664 zeiberg_calibration : Optional [ZeibergCalibrationScoreRangesCreate ] = None
622665 cvfg_all_variants : Optional [IGVFCodingVariantFocusGroupControlScoreRangesCreate ] = None
623666 cvfg_missense_variants : Optional [IGVFCodingVariantFocusGroupMissenseScoreRangesCreate ] = None
@@ -628,6 +671,7 @@ class SavedScoreSetRanges(ScoreSetRangesBase):
628671
629672 investigator_provided : Optional [SavedInvestigatorScoreRanges ] = None
630673 scott_calibration : Optional [SavedScottScoreRanges ] = None
674+ fayer_calibration : Optional [SavedFayerScoreRanges ] = None
631675 zeiberg_calibration : Optional [SavedZeibergCalibrationScoreRanges ] = None
632676 cvfg_all_variants : Optional [SavedIGVFCodingVariantFocusGroupControlScoreRanges ] = None
633677 cvfg_missense_variants : Optional [SavedIGVFCodingVariantFocusGroupMissenseScoreRanges ] = None
@@ -665,6 +709,7 @@ def one_and_only_one_primary_score_range_set(self: "SavedScoreSetRanges") -> "Sa
665709class ScoreSetRanges (SavedScoreSetRanges ):
666710 investigator_provided : Optional [InvestigatorScoreRanges ] = None
667711 scott_calibration : Optional [ScottScoreRanges ] = None
712+ fayer_calibration : Optional [FayerScoreRanges ] = None
668713 zeiberg_calibration : Optional [ZeibergCalibrationScoreRanges ] = None
669714 cvfg_all_variants : Optional [IGVFCodingVariantFocusGroupControlScoreRanges ] = None
670715 cvfg_missense_variants : Optional [IGVFCodingVariantFocusGroupMissenseScoreRanges ] = None
0 commit comments