Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the metadata.options namespace from Process to CalcJob #3008

Merged

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Jun 14, 2019

Fixes #3006

The metadata.options namespace only applies to the CalcJob process
class, yet it is defined on the Process base class. This means that,
process builders for WorkChains, for example, will also display this as
an available namespace, even though it shouldn't. It may seem harmless,
but having an apparently namespace available that does not actually do
anything can be confusing.

@sphuber sphuber requested a review from giovannipizzi June 14, 2019 16:34
@sphuber sphuber force-pushed the fix_3006_move_metada_options_to_calcjob branch 2 times, most recently from 8227eb9 to 0b99a51 Compare June 14, 2019 17:54
@coveralls
Copy link

coveralls commented Jun 14, 2019

Coverage Status

Coverage decreased (-0.03%) to 73.17% when pulling e15cb45 on sphuber:fix_3006_move_metada_options_to_calcjob into 09531ad on aiidateam:develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 72.987% when pulling 0b99a515d5d320dd0e171ba3feca585219bdb334 on sphuber:fix_3006_move_metada_options_to_calcjob into ababf1c on aiidateam:develop.

The `metadata.options` namespace only applies to the `CalcJob` process
class, yet it is defined on the `Process` base class. This means that,
process builders for `WorkChains`, for example, will also display this as
an available namespace, even though it shouldn't. It may seem harmless,
but having an apparently namespace available that does not actually do
anything can be confusing.
@sphuber sphuber force-pushed the fix_3006_move_metada_options_to_calcjob branch from 0b99a51 to e15cb45 Compare June 14, 2019 20:04
@sphuber sphuber merged commit 9abc4ff into aiidateam:develop Jun 15, 2019
@sphuber sphuber deleted the fix_3006_move_metada_options_to_calcjob branch June 15, 2019 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Input metadata.options should be defined on CalcJob not Process
3 participants