[repo] kind = "recipe" [[stages]] name = "master_dark" description = "Generate master dark" # disabled = true # can be used to prevent considering this stage (for debugging or whatever) # We should normally be inheriting this from a common base stage definition tool.name = "siril" priority = 2000 # Notice: the following script should be shared between dual duo **and** single duo workflows. We shouldn't need to delcare it twice. script = ''' # Convert Bias Frames to .fit files link frames -out={process_dir} cd {process_dir} # Stack frames stack frames rej 3 3 -nonorm -out={output.base} ''' [[stages.inputs]] kind = "session" # Formerly called "repo" type = "dark" [[stages.inputs.requires]] kind = "unprocessed" # master generation never wants to consume already processed frames # Note: require clauses are evaluated in order. So for 'min_count' we probably want to test that last, after all other filtering is done. [[stages.inputs.requires]] kind = "min_count" value = 2 # siril needs at least 2 frames to stack, raise an exception if not enough frames found accept_single = true # if only one frame is found, just reuse it as the output (no stacking needed) [[stages.outputs]] kind = "master"