def test_n_terminals_with_start(self):
     residues = orderfinder.extract_nterminus(
         self.data_dir, self.features, self.features_by_id["STAUR_3982"])
     assert residues == {
         'STAUR_3972': 'L-',
         'STAUR_3983': 'DK',
         'STAUR_3984': 'SQ',
         'STAUR_3985': 'SV'
     }
 def test_n_terminals_no_start(self):
     residues = orderfinder.extract_nterminus(self.data_dir, self.features,
                                              None)
     assert residues == {
         'STAUR_3972': 'L-',
         'STAUR_3982': 'ER',
         'STAUR_3983': 'DK',
         'STAUR_3984': 'SQ',
         'STAUR_3985': 'SV'
     }
示例#3
0
 def test_n_terminals_no_start(
         self):  # TODO: move to integration or mock muscle
     residues = orderfinder.extract_nterminus(self.data_dir, self.features,
                                              None)
     assert residues == {
         'STAUR_3972': 'L-',
         'STAUR_3982': 'ER',
         'STAUR_3983': 'DK',
         'STAUR_3984': 'SQ',
         'STAUR_3985': 'SV'
     }