File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,12 @@ def serial_create(self, args):
83
83
task ("load" , options )
84
84
task ("finalise" , options )
85
85
86
- task ("patch" , options )
87
-
88
86
task ("init_additions" , options )
89
87
task ("run_additions" , options )
90
88
task ("finalise_additions" , options )
89
+
90
+ task ("patch" , options )
91
+
91
92
task ("cleanup" , options )
92
93
task ("verify" , options )
93
94
@@ -153,6 +154,7 @@ def parallel_create(self, args):
153
154
154
155
with ExecutorClass (max_workers = 1 ) as executor :
155
156
executor .submit (task , "finalise-additions" , options ).result ()
157
+ executor .submit (task , "patch" , options ).result ()
156
158
executor .submit (task , "cleanup" , options ).result ()
157
159
executor .submit (task , "verify" , options ).result ()
158
160
Original file line number Diff line number Diff line change @@ -740,6 +740,11 @@ def skip(self):
740
740
if not self .delta .total_seconds () % frequency .total_seconds () == 0 :
741
741
LOG .debug (f"Delta { self .delta } is not a multiple of frequency { frequency } . Skipping." )
742
742
return True
743
+
744
+ if self .dataset .zarr_metadata .get ("build" , {}).get ("additions" , None ) is False :
745
+ LOG .warning (f"Additions are disabled for { self .path } in the recipe." )
746
+ return True
747
+
743
748
return False
744
749
745
750
@cached_property
You can’t perform that action at this time.
0 commit comments