Skip to content
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

Tweak unconverged, bravais and den-/tet error handling #284

Merged
merged 7 commits into from
Aug 11, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Aug 9, 2023

225a1e8 UnconvergedErrorHandler only set algo to normal if ISMEAR>=0
608530b mv custodian/feff/tests/test_handler{,s}.py
c11ab49 tweak bravais error handling in VaspErrorHandler
283fe9d improve den-/tet error handling in case of not using kspacing
bc02285 fix VaspErrorHandlerTest.test_bravais

@janosh janosh added enhancement handler Error handler labels Aug 9, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (7695d4d) 66.04% compared to head (608530b) 66.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #284   +/-   ##
=======================================
  Coverage   66.04%   66.04%           
=======================================
  Files          51       51           
  Lines        5549     5549           
=======================================
  Hits         3665     3665           
  Misses       1884     1884           
Files Changed Coverage Δ
custodian/feff/tests/test_handlers.py 100.00% <ø> (ø)
custodian/vasp/handlers.py 78.89% <100.00%> (ø)

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

janosh added 3 commits August 10, 2023 16:16
decrease default symprec 1e-5->1e-6, then try 10xing twice, then set ISYM=0 to not impose potentially artificial symmetry from too loose symprec on charge density
@janosh janosh changed the title UnconvergedErrorHandler only set algo to normal if ISMEAR>=0 Tweak unconverged, bravais and den-/tet error handling Aug 10, 2023
janosh added 2 commits August 10, 2023 16:55
…S"].kpts)

E   TypeError: can't multiply sequence by non-int of type 'float'
@janosh janosh merged commit 26bf28a into master Aug 11, 2023
@janosh janosh deleted the fix-algo-tet-err-from-setting-algo--normal branch August 11, 2023 00:08
@Andrew-S-Rosen
Copy link
Member

@janosh: In the future, can we please not merge in PRs that change handlers in non-trivial ways without it being reviewed by another individual? The changes here to the "tet" handler are not good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants