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

Protocols: Set clean_workdir default to False #919

Merged
merged 1 commit into from
Apr 16, 2023

Conversation

mbercx
Copy link
Member

@mbercx mbercx commented Apr 16, 2023

Fixes #915

The current default in the protocol of all work chains is to set clean_workdir to True. This can several use cases where users have to restart from previous calculations impossible when the default inputs are used, which can be particularly confusing and frustrating for beginners.

Moreover, cleaning the working directory removes potentially valuable data that is not retrieved by the plugin (e.g. the charge density). Conversely, not cleaning the working directory only really is a problem in case the user is running a lot of calculations, and can be fixed easily by manually cleaning the working directories.

Here we set the default value of clean_workdir to False for all work chain protocols.

The current default in the protocol of all work chains is to set
`clean_workdir` to `True`. This can several use cases where users have
to restart from previous calculations impossible when the default
inputs are used, which can be particularly confusing and frustrating for
beginners.

Moreover, cleaning the working directory removes potentially valuable
data that is not retrieved by the plugin (e.g. the charge density).
Conversely, _not_ cleaning the working directory only really is a
problem in case the user is running _a lot_ of calculations, and can be
fixed easily by manually cleaning the working directories.

Here we set the default value of `clean_workdir` to `False` for all work
chain protocols.
@mbercx mbercx requested a review from sphuber April 16, 2023 11:02
@mbercx mbercx merged commit f8e512f into aiidateam:main Apr 16, 2023
@mbercx mbercx deleted the fix/915/clean-false branch April 16, 2023 14:22
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.

Protocols: Set default of clean_workdir to False?
2 participants