[repo] kind = "recipe" [[stages]] name = "grax-denoise" description = "Do denoising with graxpert" role = "denoise" # one implementation of the 'denoise' step; rc-astro's noise_exterminator wins when installed priority = 300 tool.name = "graxpert" tool.parameters = { "ai_version" = "3.0.2" } # or inline python code can be provided here. In this case I'm using some python # code I'm temporarily sharing from the main project... script = [ "-cmd", "denoising", "-output", "{output.full_paths[0]}", "-gpu", "false", # gpu sometimes crashes on macos. so turn off for all see doc/design/bugs/grax-osx.md "{input[0].full_paths[0]}" ] [[stages.inputs]] kind = "job" # Note: if name is not specified, the first input will be named 0, second 1, etc. after = "deconv-obj.*" # the name of the step we want to follow multiplex = true # multiplex is like "job" but multiple tasks are created, one per input file from prior stage [[stages.inputs.requires]] kind = "min_count" value = 1 # At this point if we don't have any valid inputs, reject this stage from consideration [[stages.outputs]] kind = "processed" auto.prefix = "denoise_"