microsoft / aiida-dynamic-workflows

An AiiDA plugin for dynamically defining workflows using Python functions
MIT License
17 stars 4 forks source link

Set the whole 'metadata.options.resources' dict, rather than mutating #14

Closed jbweston closed 2 years ago

jbweston commented 2 years ago

Mutating the dict means that serialization does not work as expected, and additionally seems to affect other Builders (!).

Fixing this means that the 'cores' specification is respected in workflows.