Skip to content

Commit

Permalink
Update simulation.py (#2695)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhacha authored Oct 31, 2023
1 parent 0d4050c commit eee9972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2768,6 +2768,7 @@ def use_output_directory(self, dname: str = ""):
"""
if not dname:
dname = self.get_filename_prefix() + "-out"
self.filename_prefix = None

closure = {"trashed": False}

Expand All @@ -2783,7 +2784,6 @@ def hook():

if self.fields is not None:
hook()
self.filename_prefix = None

return dname

Expand Down

0 comments on commit eee9972

Please sign in to comment.