@@ -53,7 +53,7 @@ def process(self, input_data):
5353
5454 # First check if we should even do the subtraction. If not, bail.
5555 if not self ._do_sub (output_model ):
56- record_step_status (output_model , "master_background" , success = False )
56+ record_step_status (output_model , "master_background" , status = "SKIPPED" )
5757 return output_model
5858
5959 # Check that data is a supported datamodel. If not, bail.
@@ -70,7 +70,7 @@ def process(self, input_data):
7070 log .warning (
7171 f"Input { input_data } of type { type (output_model )} cannot be handled. Step skipped."
7272 )
73- record_step_status (output_model , "master_background" , success = False )
73+ record_step_status (output_model , "master_background" , status = "SKIPPED" )
7474 return output_model
7575
7676 # If user-supplied master background, subtract it
@@ -114,7 +114,7 @@ def process(self, input_data):
114114 f"Input { input_data } of type { type (output_model )} cannot be "
115115 "handled without user-supplied background. Step skipped."
116116 )
117- record_step_status (output_model , "master_background" , success = False )
117+ record_step_status (output_model , "master_background" , status = "SKIPPED" )
118118 return output_model
119119
120120 result , background_data = split_container (output_model )
@@ -124,7 +124,7 @@ def process(self, input_data):
124124 "and no user-supplied background provided. Skipping step."
125125 )
126126 log .warning (msg )
127- record_step_status (output_model , "master_background" , success = False )
127+ record_step_status (output_model , "master_background" , status = "SKIPPED" )
128128 return output_model
129129 asn_id = result .asn_table ["asn_id" ]
130130
@@ -189,7 +189,7 @@ def process(self, input_data):
189189 background_2d_collection , suffix = "masterbg2d" , force = True , asn_id = asn_id
190190 )
191191
192- record_step_status (result , "master_background" , success = True )
192+ record_step_status (result , "master_background" , status = "COMPLETE" )
193193
194194 # Clean up intermediate background models
195195 background_2d_collection .close ()
0 commit comments