Closed sjeknic closed 2 years ago
See #75. A simple work around was introduced such that Operation
accounts for the value of force_rerun
. However, a better fix, that actually consolidates inputs and outputs, would still be beneficial.
But for the sake of cleaning things up, I'm going to close this issue for now and come back to it if another bug crops up.
I basically broke the original idea for
Pipeline._input_output_handler
. Right now,Pipeline
basically just loads all of the images that it can find, which is good if you want to find outputs to not run them again. However, ifforce_rerun=True
then those extra output images might get passed instead of the expected images. This would have previously likely raised an Error based on passing too many args.Regardless,
Operation.get_inputs_outputs
should take into account whetherforce_rerun
is True. And also, the distinction between inputs and outputs in this context is a little bit minor. So they should be consolidated to a single argument.