@@ -47,7 +47,7 @@ def test_parser(self):
4747 for ppbuild in [PPBuilder (), CaPPBuilder ()]:
4848 #==========================================================
4949 #First try allowing non-standard amino acids,
50- polypeptides = ppbuild .build_peptides (structure ['1' ], False )
50+ polypeptides = ppbuild .build_peptides (structure [1 ], False )
5151 self .assertEqual (len (polypeptides ), 1 )
5252 pp = polypeptides [0 ]
5353 # Check the start and end positions
@@ -64,7 +64,7 @@ def test_parser(self):
6464 #Now try strict version with only standard amino acids
6565 #Should ignore MSE 151 at start, and then break the chain
6666 #at MSE 185, and MSE 214,215
67- polypeptides = ppbuild .build_peptides (structure ['1' ], True )
67+ polypeptides = ppbuild .build_peptides (structure [1 ], True )
6868 self .assertEqual (len (polypeptides ), 3 )
6969 #First fragment
7070 pp = polypeptides [0 ]
@@ -99,7 +99,7 @@ def testModels(self):
9999 for ppbuild in [PPBuilder (), CaPPBuilder ()]:
100100 #==========================================================
101101 #First try allowing non-standard amino acids,
102- polypeptides = ppbuild .build_peptides (structure ['1' ], False )
102+ polypeptides = ppbuild .build_peptides (structure [1 ], False )
103103 self .assertEqual (len (polypeptides ), 1 )
104104 pp = polypeptides [0 ]
105105 # Check the start and end positions
@@ -114,7 +114,7 @@ def testModels(self):
114114 str (s ))
115115 #==========================================================
116116 #Now try strict version with only standard amino acids
117- polypeptides = ppbuild .build_peptides (structure ['1' ], True )
117+ polypeptides = ppbuild .build_peptides (structure [1 ], True )
118118 self .assertEqual (len (polypeptides ), 1 )
119119 pp = polypeptides [0 ]
120120 # Check the start and end positions
0 commit comments