From 87fca610b23185732ede356b83b15cba0532dd45 Mon Sep 17 00:00:00 2001 From: David Minton Date: Tue, 27 Feb 2024 14:34:49 -0500 Subject: [PATCH] Added save method to run method so that you don't have to call save before run manually --- swiftest/simulation_class.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swiftest/simulation_class.py b/swiftest/simulation_class.py index d4e3a4e0f..e4a5ca7c9 100644 --- a/swiftest/simulation_class.py +++ b/swiftest/simulation_class.py @@ -450,6 +450,7 @@ def run(self, # Save initial conditions if not self.restart: self.clean() + self.save() # Write out the current parameter set before executing run self.write_param(verbose=False,**kwargs)