Skip to content

Commit

Permalink
fix: add _npt.gro to results download
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopr committed Jun 7, 2023
1 parent 66f6ec8 commit 8be8f77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/server/server/resources/downloads/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ def get(self):
with zipfile.ZipFile(file_results_zip, "w") as z:
for folder, _, files in os.walk(folder_run_path):
for file in files:
if file.endswith("_PBC.xtc") or file.endswith("_pr.tpr"):
if (
file.endswith("_PBC.xtc")
or file.endswith("_pr.tpr")
or file.endswith("_npt.gro")
):
z.write(
os.path.join(folder, file),
file,
Expand Down

0 comments on commit 8be8f77

Please sign in to comment.