File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,27 @@ class MyScore(modelcif.qa_metric.LocalPairwise,
7575 q = MyScore (asym .residue (2 ), asym .residue (3 ), 42 )
7676 _ = repr (q )
7777
78+ def test_feature_metric (self ):
79+ """Test Feature MetricMode"""
80+ class MyScore (modelcif .qa_metric .Feature , modelcif .qa_metric .Energy ):
81+ pass
82+
83+ e1 = modelcif .Entity ('ACGT' )
84+ asym = modelcif .AsymUnit (e1 , 'foo' )
85+ q = MyScore (asym .residue (2 ), 42 )
86+ _ = repr (q )
87+
88+ def test_feature_pairwise_metric (self ):
89+ """Test FeaturePairwise MetricMode"""
90+ class MyScore (modelcif .qa_metric .FeaturePairwise ,
91+ modelcif .qa_metric .Energy ):
92+ pass
93+
94+ e1 = modelcif .Entity ('ACGT' )
95+ asym = modelcif .AsymUnit (e1 , 'foo' )
96+ q = MyScore (asym .residue (2 ), asym .residue (3 ), 42 )
97+ _ = repr (q )
98+
7899
79100if __name__ == '__main__' :
80101 unittest .main ()
You can’t perform that action at this time.
0 commit comments