extension subfolders
This commit is contained in:
+5
-3
@@ -29,7 +29,7 @@ class StudyProcessor(Aggregator, HDF5Container):
|
||||
selector=None,
|
||||
tag=None,
|
||||
unit_time=U.year,
|
||||
**kwargs
|
||||
**kwargs,
|
||||
):
|
||||
"""
|
||||
Creates the basic structures needed for the outputs
|
||||
@@ -43,8 +43,10 @@ class StudyProcessor(Aggregator, HDF5Container):
|
||||
else:
|
||||
tag_name = ""
|
||||
|
||||
self.filename = self.path_out + "/comp" + tag_name + ".h5"
|
||||
|
||||
if self.params.out.ext_subfolder:
|
||||
self.filename = f"{self.path_out}/study{tag_name}.h5"
|
||||
else:
|
||||
self.filename = f"{self.path_out}/h5/study{tag_name}.h5"
|
||||
# Select runs
|
||||
if selector is None:
|
||||
selector = RunSelector(
|
||||
|
||||
Reference in New Issue
Block a user