forked from aiidateam/aiida-quantumespresso
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `ProjwfcParser` relied on passing a single `out_info_dict` dictionary between several functions to store the parsed information. This made the parser code so entangled that it was almost unreadable and difficult to trace down bugs. Here we refactor the class to properly isolate the various parsing functions as class methods, and make the code more readable in general. The parent class is also changed to the `BaseParser` one, so it can rely on the basic stdout parsing this class provides. Another substantial change is that the `.pdos` files, which can be many and are parsed completely, are now only temporarily retrieved instead of stored in the AiiDA repository in the `retrieved` folder.
- Loading branch information
Showing
4 changed files
with
372 additions
and
397 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.