Skip to content

Commit

Permalink
Merge pull request #1544 from jamesmkrieger/tests_fixes
Browse files Browse the repository at this point in the history
fixes related to failing tests
  • Loading branch information
jamesmkrieger authored May 10, 2022
2 parents 0f00d64 + 1f38f4e commit c1f8893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion prody/apps/prody_apps/prody_pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def prody_pca(coords, **kwargs):
if splitext(pdb)[1].lower() == '.psf':
pdb = prody.parsePSF(pdb)
else:
pdb = prody.parsePDB(pdb, altlocs=altlocs)
pdb = prody.parsePDB(pdb, altloc=altloc)
dcd = prody.DCDFile(coords)
if prefix == '_pca' or prefix == '_eda':
prefix = dcd.getTitle() + prefix
Expand Down
2 changes: 2 additions & 0 deletions prody/tests/atomic/test_atomic.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def testAtomGroup(self):
s1 = atoms1.__getstate__()
s2 = atoms2.__getstate__()
for key in s1:
if key == '_hv':
continue # new objects are created by __getstate__
assert_equal(s1[key], s2[key])
self.assertEqual(atoms1, atoms2)

Expand Down

0 comments on commit c1f8893

Please sign in to comment.