Closed nsheff closed 1 year ago
Waiting for #328 to fix since I can no longer see debug output
Ok I figured out what's going on here. There's leakage from one sample to the next; so if a given sample alters any variables in, for example, the pipeline namespace, then these changes are carried over to the next sample. So if, for example, we populate the variables in the plugin, then only the already-populated strings are carried over.
I think each sample needs to have its own copy of the namespaces to prevent this kind of leakage.
Here is the culprit:
we render the pipeline interface var templates on the primary piface object, rather than on a copy of it
@stolarczyk should we change the way this works to not self update but instead use a different way so we can keep the original templates?
I think each sample needs to have its own copy of the namespaces to prevent this kind of leakage.
Yes, agreed. I don't think the leakage was an intentional design decision.
If specifying a custom path like
it actually uses the first sample name to name to the file for subsequent samples... so it overwrites every sample yaml to
pipeline_results/sample1.yaml
There's a number of bugs in the handling of custom yaml paths.