Skip to content

implement Gaussian#100

Merged
wanghan-iapcm merged 6 commits intodeepmodeling:masterfrom
njzjz:gaussian
Dec 22, 2022
Merged

implement Gaussian#100
wanghan-iapcm merged 6 commits intodeepmodeling:masterfrom
njzjz:gaussian

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Dec 19, 2022

Fix #99.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
'err msg', err, '\n'
)
# convert the output to deepmd/npy format
sys = dpdata.LabeledSystem(gaussian_output_name, fmt='gaussian/log')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does dpdata assume nopbc for gaussian/log?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and it also assumes nopbc for the input file. However, Gaussian does support the PBC condition. PBC should be implemented in dpdata.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! merged.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed a bug in deepmodeling/dpdata#401

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz marked this pull request as ready for review December 21, 2022 20:34
@njzjz njzjz requested a review from wanghan-iapcm December 21, 2022 20:35
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2022

Codecov Report

Attention: Patch coverage is 86.66667% with 6 lines in your changes missing coverage. Please review.

Project coverage is 72.05%. Comparing base (db4ea65) to head (9fc7ec1).
Report is 140 commits behind head on master.

Files with missing lines Patch % Lines
dpgen2/fp/gaussian.py 86.36% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
+ Coverage   71.81%   72.05%   +0.23%     
==========================================
  Files          65       66       +1     
  Lines        2743     2788      +45     
==========================================
+ Hits         1970     2009      +39     
- Misses        773      779       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

conf_frame=system,
inputs=inputs,
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assert gaussian_input_name is generated and in the right place?

@wanghan-iapcm wanghan-iapcm merged commit c4acd0b into deepmodeling:master Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Gaussian

3 participants