From d51db04b7946ec4e8ad85484d637c1c55264c836 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Fri, 11 Aug 2023 17:06:24 +0200 Subject: [PATCH] secstr write test with secondary true --- prody/tests/proteins/test_pdbfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prody/tests/proteins/test_pdbfile.py b/prody/tests/proteins/test_pdbfile.py index 7efa2a585..3f34f453a 100644 --- a/prody/tests/proteins/test_pdbfile.py +++ b/prody/tests/proteins/test_pdbfile.py @@ -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']) @@ -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