aiidateam / plumpy

A python workflows library that supports writing Processes with a well defined set of inputs and outputs that can be strung together.
https://plumpy.readthedocs.io
Other
8 stars 17 forks source link

`Process.raw_inputs` are modified in `on_create` #250

Closed sphuber closed 1 year ago

sphuber commented 1 year ago

The inputs that are passed when instantiating a new Process instance are stored in the _raw_inputs attribute. They are supposed to remain unchanged, however, they are mutated by the on_create call by passing it into the spec().inputs.pre_process call.

sphuber commented 1 year ago

Fixed by #251