Skip to content

Commit

Permalink
updated unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
dingquanyu committed Mar 4, 2024
1 parent a42f51b commit e8f06ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/test_create_multimeric_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ class TestCreateMultimericObject(unittest.TestCase):
def setUp(self) -> None:
self.monomer1 = pickle.load(open("./example_data/H1142_A.pkl", "rb"))
self.monomer2 = pickle.load(open("./example_data/H1142_B.pkl", "rb"))

def test_1_initiate_default_multimericobject(self) -> MultimericObject:
multimer_obj = MultimericObject([self.monomer1, self.monomer2])
return multimer_obj

@unittest.expectedFailure
def test_1_initiate_multimericobject_without_msa_pairing(self) -> MultimericObject:
multimer_obj = MultimericObject([self.monomer1, self.monomer2],pair_msa=False)
return multimer_obj

def test_2_check_residue_indexes(self):
multimer_obj = self.test_1_initiate_default_multimericobject()
seq_1_length = self.monomer1.feature_dict['seq_length'][0]
Expand Down

0 comments on commit e8f06ff

Please sign in to comment.