Skip to content

Errors processing CP2K DFT data while using dpdata: Length of atom_numbs is 1, but expected 1 #354

Closed Answered by robinzyb
lmqnuaa asked this question in Q&A
Discussion options

You must be logged in to vote

@SchrodingersCattt @PolyuWeldingSpock Update for parsing cells from npt ensemble, please check the devel branch of cp2kdata

import dpdata
cp2kmd_dir = "./npt/"
cp2kmd_output_name = "cp2k.log"
dp = dpdata.LabeledSystem(cp2kmd_dir, cp2k_output_name=cp2kmd_output_name, fmt="cp2kdata/md")
print(dp)
--- You are parsing data using package Cp2kData ---
Parsing Energies From ./npt/cp2k-1.ener
Parsing Structures From ./npt/cp2k-pos-1.xyz
Parsing Forces from the CP2K output/log file: ./npt/cp2k.log
Parsing Cells Information from ./npt/cp2k.log
Atom names are fake chemical symbols as you set in cp2k input.
--- You are parsing data using package Cp2kData ---
Data Summary
Labeled System
--------------…

Replies: 6 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@SchrodingersCattt
Comment options

@robinzyb
Comment options

@SchrodingersCattt
Comment options

@robinzyb
Comment options

@SchrodingersCattt
Comment options

Comment options

You must be logged in to vote
7 replies
@SchrodingersCattt
Comment options

@robinzyb
Comment options

@SchrodingersCattt
Comment options

@robinzyb
Comment options

@SchrodingersCattt
Comment options

Comment options

You must be logged in to vote
2 replies
@robinzyb
Comment options

Answer selected by robinzyb
@SchrodingersCattt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants