Skip to content

Commit

Permalink
lint, forat
Browse files Browse the repository at this point in the history
  • Loading branch information
kh01734 committed Oct 26, 2024
1 parent 269e500 commit 9fa7eee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pacs/mdrun/simulator/superSimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ def run_parallel_one_way(
i * n_parallel : min((i + 1) * n_parallel, rest)
]:
process = mp.Process(
target=self.run_md,
args=(settings, cycle, direction, replica)
target=self.run_md, args=(settings, cycle, direction, replica)
)
processes.append(process)
process.start()
Expand Down
3 changes: 2 additions & 1 deletion pacs/utils/rmfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def rmfile(settings: MDsettings, cycle: int) -> None:
run_rm(f"-f {dir}/*.cpt")

# .tpr
# keep .tpr files if rmmol=false in mdrun, in case you want to do rmmol afterward
# keep .tpr files if rmmol=false in mdrun,
# in case you want to do rmmol afterward
if cycle != 0 and settings.rmmol:
run_rm(f"{dir}/prd.tpr")

Expand Down

0 comments on commit 9fa7eee

Please sign in to comment.