Skip to content

Commit

Permalink
secstr write test with secondary true
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Aug 11, 2023
1 parent 87c49a1 commit d51db04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/tests/proteins/test_pdbfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def setUp(self):
self.ag = parsePDB(self.pdb['path'])
self.tmp = os.path.join(TEMPDIR, 'test.pdb')

self.ubi = parsePDB(DATA_FILES['1ubi']['path'])
self.ubi = parsePDB(DATA_FILES['1ubi']['path'], secondary=True)

self.hex = parsePDB(DATA_FILES['hex']['path'])
self.h36 = parsePDB(DATA_FILES['h36']['path'])
Expand Down Expand Up @@ -293,7 +293,7 @@ def testWritingSecstrs(self):
"""Test if output from writing secstrs is as expected."""

out = writePDB(self.tmp, self.ubi)
ubi_new = parsePDB(out)
ubi_new = parsePDB(out, secondary=True)
self.assertListEqual(list(self.ubi.getSecstrs()), list(ubi_new.getSecstrs()))

@dec.slow
Expand Down

0 comments on commit d51db04

Please sign in to comment.