We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At the moment, Process classes, such as work chains can contain references to ORM entities, e.g. as default values in the spec: https://github.com/aiidateam/aiida_core/blob/b22f55155e7a602ac42b00edf62e57e4a458f55b/aiida/backends/tests/work/test_work_chain.py#L94
Process
One problem with this is that it prevents creating a "clean slate" for tests:
As noticed in #2421 this can be hard to debug, since test A and B can be otherwise completely unrelated.
One suggestion by @sphuber is to switch to lambda functions for defaults of workchains
The text was updated successfully, but these errors were encountered:
aiida.manage.fixtures.FixtureManager.reset_db()
InputPort
sphuber
Successfully merging a pull request may close this issue.
At the moment,
Process
classes, such as work chains can contain references to ORM entities, e.g. as default values in the spec:https://github.com/aiidateam/aiida_core/blob/b22f55155e7a602ac42b00edf62e57e4a458f55b/aiida/backends/tests/work/test_work_chain.py#L94
One problem with this is that it prevents creating a "clean slate" for tests:
As noticed in #2421 this can be hard to debug, since test A and B can be otherwise completely unrelated.
One suggestion by @sphuber is to switch to lambda functions for defaults of workchains
The text was updated successfully, but these errors were encountered: