Skip to content

Commit

Permalink
fix broken path
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-blanco committed Mar 5, 2024
1 parent ed8986d commit ce2b9d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testsuite/peptide_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ def run_peptide_test(script_path,test_pH_values,sequence,rtol,atol,mode="test"):
# Get data folder
time_series_folder_path=pmb.get_resource(f"samples/Beyer2024/time_series")
# clean up data folder
if len(os.listdir(time_series_folder_path)):
os.system(f"rm {time_series_folder_path}/*")
if os.path.exists(time_series_folder_path):
if len(os.listdir(time_series_folder_path)):
os.system(f"rm {time_series_folder_path}/*")
print(f"Running tests for {sequence}")
for pH in (pbar := tqdm(test_pH_values)):
pbar.set_description(f"pH = {pH}")
Expand Down

0 comments on commit ce2b9d9

Please sign in to comment.