Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Li committed Jun 19, 2024
1 parent 2e70aa6 commit 8b038ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autosolvate/tests/test_multicomponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ def test_mixture_builder():
print('DEBUG PATH:', os.getcwd())
print(os.path.exists("MYBOX.pdb"), os.path.abspath("MYBOX.pdb"))
print(os.path.exists(hp.get_reference_dir(f"multicomponent/MYBOX.pdb")), hp.get_reference_dir(f"multicomponent/MYBOX.pdb"))
print("\n\n\n")
#print the content of MYBOX.pdb
with open("MYBOX.pdb", "r") as f:
print(f.read())
print("\n\n\n")
print(hp.compare_pdb("MYBOX.pdb", hp.get_reference_dir(f"multicomponent/MYBOX.pdb")))

assert hp.compare_pdb("MYBOX.pdb", hp.get_reference_dir(f"multicomponent/MYBOX.pdb"))
Expand Down

0 comments on commit 8b038ae

Please sign in to comment.