File tree Expand file tree Collapse file tree 4 files changed +1092
-4
lines changed Expand file tree Collapse file tree 4 files changed +1092
-4
lines changed Original file line number Diff line number Diff line change 19
19
dist
20
20
dpdata.egg-info
21
21
_version.py
22
+ ! tests /cp2k /aimd /cp2k.log
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ xyz_multi_systems.to_deepmd_raw('./my_deepmd_data/')
102
102
| siesta| output | False | True | LabeledSystem | 'siesta/output'|
103
103
| siesta| aimd_output | True | True | LabeledSystem | 'siesta/aimd_output' |
104
104
| cp2k | output | False | True | LabeledSystem | 'cp2k/output' |
105
- | cp2k | a dir (contains * pos * .xyz and * .log file) | False | True | LabeledSystem | 'cp2k/aimd_output' |
105
+ | cp2k | dir | False | True | LabeledSystem | 'cp2k/aimd_output' |
106
106
| QE | log | False | True | LabeledSystem | 'qe/pw/scf' |
107
107
| QE | log | True | False | System | 'qe/cp/traj' |
108
108
| QE | log | True | True | LabeledSystem | 'qe/cp/traj' |
Original file line number Diff line number Diff line change @@ -817,7 +817,7 @@ def __init__ (self,
817
817
- ``gaussian/log``: gaussian logs
818
818
- ``gaussian/md``: gaussian ab initio molecular dynamics
819
819
- ``cp2k/output``: cp2k output file
820
- - ``cp2k/aimd_output``: cp2k output file
820
+ - ``cp2k/aimd_output``: cp2k aimd output dir(contains *pos*.xyz and *.log file)
821
821
822
822
type_map : list of str
823
823
Needed by formats deepmd/raw and deepmd/npy. Maps atom type to name. The atom with type `ii` is mapped to `type_map[ii]`.
@@ -907,8 +907,6 @@ def has_virial(self) :
907
907
908
908
909
909
def from_cp2k_aimd_output (self , file_dir ):
910
- print (1387 ,glob .glob ("{}/*pos*.xyz" .format (file_dir )))
911
- print (1387 ,glob .glob ("{}/*.log" .format (file_dir )))
912
910
xyz_file = glob .glob ("{}/*pos*.xyz" .format (file_dir ))[0 ]
913
911
log_file = glob .glob ("{}/*.log" .format (file_dir ))[0 ]
914
912
for info_dict in Cp2kSystems (log_file , xyz_file ):
You can’t perform that action at this time.
0 commit comments