Skip to content

Commit

Permalink
Change default path
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasckng committed Aug 21, 2024
1 parent cb07d4e commit e5b6e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jimgw/single_event/runManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ def plot_diagnostic(self, path: str = "diagnostic.jpeg", **kwargs):
plt.savefig(path)
plt.close()

def save_summary(self, path: str = None, **kwargs):
if path is None:
def save_summary(self, path: str = "", **kwargs):
if path == "":
path = self.run.path + "run_manager_summary.txt"
sys.stdout = open(path, "wt")
self.jim.print_summary()
Expand Down

0 comments on commit e5b6e84

Please sign in to comment.