Skip to content

Update README.md #750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Update README.md #750

wants to merge 2 commits into from

Conversation

pee8379
Copy link
Contributor

@pee8379 pee8379 commented Jun 8, 2022

'pert_box' dose not seems to work as percentage.

amcadmus and others added 2 commits April 26, 2022 16:45
It seems 'pert_box' dose not work as percentage.
@njzjz njzjz changed the base branch from master to devel June 8, 2022 07:56
Copy link
Collaborator

@AnguseZhang AnguseZhang left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! Though, I do think pert_box serves as changing the percentage, instead of an absolute length for box length. (See

def gen_random_emat(etmax, diag=0):
). How does it behave in your circumstance?

@pee8379
Copy link
Contributor Author

pee8379 commented Jun 8, 2022

Right. I misunderstood, only saw emat = emat + np.eye(3) and not
cell = np.dot(cell0, gen_random_emat(etmax, diag))
part.

I originally had a interest this part, because some of my POSCARs generated by init_bulk has highly deformed cell.
does
"pert_box": 1
means 1% of changing in box? or should it be 0.01 to get 1% of change?

Thanks.

@amcadmus amcadmus requested a review from AnguseZhang June 22, 2022 23:48
@HuangJiameng
Copy link
Collaborator

I see what you mean, maybe "ratio" is more appropriate than "percentage"
see 'pert_cmd = 'python3 ' + pert_cmd + ' -etmax %f -ofmt %s %s %d %f > /dev/null' %(pert_box, fp_style, poscar_name, pert_numb, pert_atom)' in https://github.com/deepmodeling/dpgen/blob/0767dce7cad29367edb2e4a55fd0d8724dbda642/dpgen/data/gen.py

@njzjz
Copy link
Member

njzjz commented Aug 6, 2025

I close this PR as the README has been fully refactored. If one wants to change the documentation, go to argcheck.py.

@njzjz njzjz closed this Aug 6, 2025
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

❌ Patch coverage is 32.45136% with 868 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.91%. Comparing base (dc57c9a) to head (38be602).
⚠️ Report is 438 commits behind head on devel.

Files with missing lines Patch % Lines
dpgen/generator/lib/run_calypso.py 10.00% 225 Missing ⚠️
dpgen/generator/run.py 28.16% 153 Missing ⚠️
dpgen/generator/lib/calypso_run_opt.py 0.00% 134 Missing ⚠️
dpgen/generator/lib/calypso_check_outcar.py 0.00% 85 Missing ⚠️
dpgen/generator/lib/calypso_run_model_devi.py 0.00% 83 Missing ⚠️
dpgen/data/gen.py 22.33% 80 Missing ⚠️
dpgen/generator/lib/make_calypso.py 77.51% 29 Missing ⚠️
dpgen/generator/lib/abacus_scf.py 85.88% 12 Missing ⚠️
dpgen/generator/arginfo.py 0.00% 11 Missing ⚠️
dpgen/dispatcher/Dispatcher.py 27.27% 8 Missing ⚠️
... and 20 more
Additional details and impacted files
@@            Coverage Diff             @@
##            devel     #750      +/-   ##
==========================================
- Coverage   33.94%   33.91%   -0.03%     
==========================================
  Files          86       93       +7     
  Lines       15424    16562    +1138     
==========================================
+ Hits         5235     5617     +382     
- Misses      10189    10945     +756     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

5 participants