Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protocols: Add usage of metadata/paral. overrides
The `metadata` and `parallelization` inputs of the `PwCalculation`, stored in the `pw` namespace of the `PwBaseWorkChain`, are not (properly) used in the `get_builder_from_protocol()` method. Here we make the following changes to correct this issue: * Move the `metadata` inputs under `pw` in the base.yaml file. * Correctly obtain the `metadata` from the inputs in the `get_builder_from_protocol()` method of the `PwBaseWorkChain`. * Check if there is `parallelization` input in the `pw` namespace of the inputs, and if so add it to the builder in the `get_builder_from_protocol()` method of the `PwBaseWorkChain`.
- Loading branch information