Skip to content

add support for fpop ABACUS - #174

Merged
wanghan-iapcm merged 16 commits into
deepmodeling:masterfrom
zjgemi:integrate-fpop
Oct 16, 2023
Merged

add support for fpop ABACUS#174
wanghan-iapcm merged 16 commits into
deepmodeling:masterfrom
zjgemi:integrate-fpop

Conversation

@zjgemi

@zjgemi zjgemi commented Oct 11, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov

codecov Bot commented Oct 12, 2023

Copy link
Copy Markdown

Codecov Report

Attention: 38 lines in your changes are missing coverage. Please review.

Comparison is base (2bcc460) 87.96% compared to head (24dde72) 87.28%.
Report is 1 commits behind head on master.

❗ Current head 24dde72 differs from pull request most recent head 786e456. Consider uploading reports for the commit 786e456 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
- Coverage   87.96%   87.28%   -0.68%     
==========================================
  Files          81       82       +1     
  Lines        4045     4122      +77     
==========================================
+ Hits         3558     3598      +40     
- Misses        487      524      +37     
Files Coverage Δ
dpgen2/entrypoint/submit.py 68.95% <100.00%> (ø)
dpgen2/fp/__init__.py 100.00% <100.00%> (ø)
dpgen2/fp/fpop.py 50.00% <50.00%> (ø)

... and 1 file with indirect coverage changes

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

Signed-off-by: zjgemi <liuxin_zijian@163.com>

@wanghan-iapcm wanghan-iapcm left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could you please provide an input.json example for abacus fp calculation? Thanks!

config["sys_configs"] if old_style else config["explore"]["configurations"]
)
sys_prefix = config.get("sys_prefix")
sys_prefix = config["explore"].get("configuration_prefix")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

configuration_prefix is removed in pr #175, because it is never used.
The configuration from file is supported by the file type of configuration generator.
you man find an example in https://github.com/wanghan-iapcm/dpgen2-1/blob/improve-doc/docs/input.md#exploration

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

we will remove configuration_prefix in a new PR

)
sys_prefix = config.get("sys_prefix")
sys_prefix = config["explore"].get("configuration_prefix")
if sys_prefix is not None:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this part of the code should be safely removed.

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.

2 participants