Skip to content

Commit

Permalink
test standard cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCox822 committed Mar 6, 2024
1 parent 8645e70 commit 91f8ddb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_preprocess_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ def test_add_hydrogens_and_remove_water(path_to_cif, cleaning_fxns):
path_to_cleaned_file = "tidy_" + path_to_cif
os.remove(path_to_cleaned_file)
assert "Cleaned File" in result


def test_standard_cleaning(path_to_cif, cleaning_fxns):
result = cleaning_fxns._standard_cleaning(path_to_cif)
path_to_cleaned_file = "tidy_" + path_to_cif
os.remove(path_to_cleaned_file)
assert "Cleaned File" in result

0 comments on commit 91f8ddb

Please sign in to comment.