Skip to content

Commit

Permalink
done debug test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Li committed Jun 13, 2024
1 parent 9abe82d commit ee58c03
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions autosolvate/tests/test_multicomponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_mixture_builder():
test_name = "test_mixture_builder"
solute = ['naphthalene_neutral.xyz']
solvent = ['acetonitrile.pdb', 'water.pdb']
builder = MixtureBuilder()
builder = MixtureBuilder(folder=os.getcwd())
for s in solute:
builder.add_solute(hp.get_input_dir(s))
for s in solvent:
Expand All @@ -110,8 +110,7 @@ def test_mixture_builder():
path_exist *= os.path.exists(f"{res}.pdb")
path_exist *= os.path.exists(f"{res}.lib")
path_exist *= os.path.exists(f"{res}.frcmod")
print('DEBUG', res)
assert path_exist

assert path_exist
assert hp.compare_pdb("MYBOX.pdb", hp.get_reference_dir(f"multicomponent/MYBOX.pdb"))
assert hp.compare_inpcrd_prmtop("MYBOX", hp.get_reference_dir(f"multicomponent/MYBOX"))
assert hp.compare_inpcrd_prmtop("MYBOX.prmtop", hp.get_reference_dir(f"multicomponent/MYBOX.prmtop"))
File renamed without changes.
File renamed without changes.

0 comments on commit ee58c03

Please sign in to comment.