forked from dptech-corp/dpgen2
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor fp. easier to implement new fp methods (#98)
* refactor fp. easier to implement new fp methods * fix bugs * fix UT for latest pydflow * define PrepFP and RunFp as ABC. Add abstractmethod to them. Add doc strs * fix bugs * add static abstract `args` method to RunFp. mv normalize_config to RunFp. * add doc str for normalize_config Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
- Loading branch information
1 parent
e5d3b9f
commit f7cb932
Showing
20 changed files
with
677 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
from .vasp import VaspInputs | ||
from .vasp import ( | ||
VaspInputs, | ||
PrepVasp, | ||
RunVasp, | ||
) | ||
|
||
fp_styles = { | ||
"vasp" : { | ||
"inputs" : VaspInputs, | ||
"prep" : PrepVasp, | ||
"run" : RunVasp, | ||
} | ||
} |
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.