Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Corrected some issues where collision and encounter files were not re…
Browse files Browse the repository at this point in the history
…ad in by the run method
  • Loading branch information
daminton committed Feb 16, 2023
1 parent c3d2612 commit 4602b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/swiftest/swiftest/simulation_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ def run(self,**kwargs):
self._run_swiftest_driver()

# Read in new data
self.read_encounters = True
self.read_collisions = True
self.read_output_file()

return
Expand Down Expand Up @@ -2589,7 +2591,7 @@ def get_nvals(ds):
def read_param(self,
param_file : os.PathLike | str | None = None,
codename: Literal["Swiftest", "Swifter", "Swift"] | None = None,
read_init_cond : Bool | None = None,
read_init_cond : bool | None = None,
verbose: bool | None = None):
"""
Reads in an input parameter file and stores the values in the param dictionary.
Expand Down

0 comments on commit 4602b85

Please sign in to comment.