-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One challenge of pp.x calculations is that there is a choice of both dimensionality and of output format. As we want to produce AiiDA `ArrayData` output nodes, the `PpCalculation` plugin is modified to enforce only Gnuplot (for 1D and 2D) and Cube (3D only) file formats, based on the dimensionality the user wants. The `PpCalculation` class is still lightweight in the sense that the user skill is still required to run pp.x and hand-holding is minimal, but is improved over the previous 'free-form' input version in that the output will definitely be parsed by AiiDA and stored in the database in a standard way. The parser collects the useful data from standard out and detects common problems. or convenience `PpCalculation` also enforces that the post-processed data is written to a file which is then retrieved and parsed, rather than to stdout. The parser converts this, for any dimensionality into the appropriate `ArrayData` representation. Co-authored-by: Sebastiaan Huber <[email protected]>
- Loading branch information
1 parent
2481ae8
commit 80f4957
Showing
33 changed files
with
2,463 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.