You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: qe input blocks not seperated by empty lines (#724)
the qe support only parse input file, in which cell blocks are separated
by empty lines, like
```
ATOMIC_SPECIES
Na 22.989769 Na_ONCV_PBE-1.0.upf
CELL_PARAMETERS {angstrom}
7.171683039200000 0.000000000000000 0.000000000000000
```
however, the input file is valid when no empty line exists, like the
following
```
ATOMIC_SPECIES
Na 22.989769 Na_ONCV_PBE-1.0.upf
CELL_PARAMETERS {angstrom}
7.171683039200000 0.000000000000000 0.000000000000000
```
This pr fixes the issue
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
- **New Features**
- Improved handling of Quantum Espresso output data for better parsing
and clarity.
- Enhanced error handling for missing force and stress data.
- Added configuration parameters for self-consistent field (SCF)
calculations for sodium.
- **Bug Fixes**
- Updated functions to prevent unwanted lines in data extraction,
ensuring cleaner output.
- **Tests**
- Introduced a new test class to validate the functionality of the
`dpdata.LabeledSystem` class with Quantum Espresso output, enhancing
test coverage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Han Wang <[email protected]>
0 commit comments