diff --git a/python/simulation.py b/python/simulation.py index c7282b078..ee1a731ed 100644 --- a/python/simulation.py +++ b/python/simulation.py @@ -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} @@ -2783,7 +2784,6 @@ def hook(): if self.fields is not None: hook() - self.filename_prefix = None return dname