Skip to content

Commit

Permalink
Do not delete mbar output files by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fjclark committed Jun 12, 2024
1 parent d032bf1 commit cae2d38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions a3fe/analyse/mbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def collect_mbar_slurm(
jobs: _List[_Job],
mbar_out_files: _List[str],
virtual_queue: _VirtualQueue,
delete_outfiles: bool = True,
delete_outfiles: bool = False,
tmp_simfiles: _List[str] = [],
) -> _Tuple[_np.ndarray, _np.ndarray, _List[str], _Dict[str, _Dict[str, _np.ndarray]]]:
"""
Expand All @@ -271,7 +271,7 @@ def collect_mbar_slurm(
The paths to the MBAR
virtual_queue : VirtualQueue
The virtual queue to submit the MBAR jobs to.
delete_outfiles : bool, Optional, default: True
delete_outfiles : bool, Optional, default: False
Whether to delete the MBAR analysis output files after the free
energy change and errors have been extracted.
tmp_simfiles : List[str], Optional, default: []
Expand Down
1 change: 1 addition & 0 deletions a3fe/analyse/process_grads.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ def get_time_series_multiwindow_mbar(
mbar_out_files=mbar_outfiles,
virtual_queue=lambda_windows[0].virtual_queue,
tmp_simfiles=tmp_simfiles,
delete_outfiles=True,
)
)

Expand Down

0 comments on commit cae2d38

Please sign in to comment.