Skip to content

Commit 124d4a8

Browse files
committed
updated paths to test files
1 parent 8c32ad5 commit 124d4a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_molecule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def _test_templatingNonStandardResidues():
574574
test_home = os.path.join(
575575
curr_dir, "test_systemprepare", "test-nonstandard-residues"
576576
)
577-
mol = Molecule(os.path.join(test_home, "1A4W.pdb"))
577+
mol = Molecule(os.path.join(test_home, "1A4W", "1A4W.pdb"))
578578
mol.templateResidueFromSmiles(
579579
"resname TYS",
580580
"c1cc(ccc1C[C@@H](CO)N)OS(=O)(=O)O",

tests/test_systemprepare.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def _test_nonstandard_residue_hard_ignore_ns():
224224
test_home = os.path.join(
225225
curr_dir, "test_systemprepare", "test-nonstandard-residues"
226226
)
227-
mol = Molecule(os.path.join(test_home, "5VBL.pdb"))
227+
mol = Molecule(os.path.join(test_home, "5VBL", "5VBL.pdb"))
228228

229229
pmol, df = systemPrepare(
230230
mol,
@@ -234,8 +234,8 @@ def _test_nonstandard_residue_hard_ignore_ns():
234234
ignore_ns=True,
235235
)
236236
_compare_results(
237-
os.path.join(test_home, "5VBL_prepared_ignore_ns.pdb"),
238-
os.path.join(test_home, "5VBL_prepared_ignore_ns.csv"),
237+
os.path.join(test_home, "5VBL", "5VBL_prepared_ignore_ns.pdb"),
238+
os.path.join(test_home, "5VBL", "5VBL_prepared_ignore_ns.csv"),
239239
pmol,
240240
df,
241241
)

0 commit comments

Comments
 (0)