-
Notifications
You must be signed in to change notification settings - Fork 16
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
Adding that one can specify other files to be retrieved via the setting #89
Adding that one can specify other files to be retrieved via the setting #89
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #89 +/- ##
===========================================
- Coverage 85.30% 84.95% -0.35%
===========================================
Files 19 19
Lines 1599 1615 +16
===========================================
+ Hits 1364 1372 +8
- Misses 235 243 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks good, just a comment on the docs
@@ -34,4 +34,4 @@ LAMMPS can produce binary restart files which contain all the atomic positions, | |||
- **structure**, ({class}`~aiida.orm.nodes.data.structure.StructureData`), *optional* - The output structure of the calculation. | |||
- **remote_folder**, ({class}`~aiida.orm.nodes.data.remote.base.RemoteData`) - Folder in the remote machine where the calculation was performed. | |||
- **remote_stash**, ({class}`~aiida.orm.nodes.data.remote.stash.base.RemoteStashData`), *optional* – Contents of the stash.source_list option are stored in this remote folder after job completion. | |||
- **retrieved**, ({class}`~aiida.orm.nodes.data.folder.FolderData`) - Files that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. | |||
- **retrieved**, ({class}`~aiida.orm.nodes.data.folder.FolderData`) - Files that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `settings["additional_retrieve_list"] = ["foo", "bar"]`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of explaining this option in the settings
here, wouldn't it make more sense to actually add this to the explanation of the settings
input itself? You also may want to add that wildcards are supported, i.e. you could add *.xml
to retrieve all XML files for example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sphuber ! Thanks for the comments, I have fixed them now, and added the explanation about wildcards with a link to the place in the aiida-core documentation where this is explained.
Adding that the settings can take a list of strings or a list of tuples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @JPchico all good. Just one typo left in the docs
@sphuber I think this is ready, if you have no objections I will merge this one. |
Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
Adding that one can specify other files to be retrieved via the settings. Addresses #88