File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tests/sample_data/experimental Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1905,7 +1905,11 @@ def get_output(self) -> dict:
19051905 output ['recipe_data' ] = self ._raw_recipe
19061906 output ['task_output' ] = {}
19071907
1908- for task in self .tasks :
1908+ for task in self .tasks .flatten ():
1909+ if self ._cfg ['remove_preproc_dir' ] and isinstance (
1910+ task , PreprocessingTask ):
1911+ # Skip preprocessing tasks that are deleted afterwards
1912+ continue
19091913 output ['task_output' ][task .name ] = task .get_product_attributes ()
19101914
19111915 return output
Original file line number Diff line number Diff line change 2222CFG .update (esmvaltool_sample_data .get_rootpaths ())
2323CFG ['drs' ]['CMIP6' ] = 'SYNDA'
2424CFG ['max_parallel_tasks' ] = 1
25+ CFG ['remove_preproc_dir' ] = False
2526
2627AUTHOR_TAGS = {
2728 'authors' : {
You can’t perform that action at this time.
0 commit comments