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

XAS/XPS: Fix Bug Caused by VdW Module #786

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

PNOGillespie
Copy link
Contributor

Resolves #765

Forces core-hole SCF calculation steps in the XPS and XAS plugins to not use VdW corrections of any type, keeping any such setting for the relax step.

Since the VdW correction only affects the total energy/forces and doesn't affect the electronic structure, simply removing the term from the core-hole SCF calculation solves the issue without any downsides.

Resolves aiidalab#765

Forces core-hole SCF calculation steps in the XPS and XAS plugins
to not use VdW corrections of any type, keeping any such setting
for the relax step.
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 68.16%. Comparing base (8855969) to head (51b73d2).
Report is 1 commits behind head on main.

Files Patch % Lines
src/aiidalab_qe/plugins/xas/workchain.py 0.00% 1 Missing ⚠️
src/aiidalab_qe/plugins/xps/workchain.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #786      +/-   ##
==========================================
- Coverage   68.19%   68.16%   -0.04%     
==========================================
  Files          48       48              
  Lines        4157     4159       +2     
==========================================
  Hits         2835     2835              
- Misses       1322     1324       +2     
Flag Coverage Δ
python-3.10 68.16% <0.00%> (-0.04%) ⬇️
python-3.9 68.19% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@superstar54 superstar54 self-requested a review August 19, 2024 13:56
Copy link
Member

@superstar54 superstar54 left a comment

Choose a reason for hiding this comment

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

LGTM!

@superstar54 superstar54 merged commit 3ce7d18 into aiidalab:main Aug 19, 2024
8 checks passed
@PNOGillespie PNOGillespie deleted the fix/cls_with_vdw_bug branch September 24, 2024 09:01
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.

Bug for Core-Hole SCF Calculations Combined with DFT-D3 Correction
2 participants