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

bug fix for gaussian weighted band_distance #29

Merged

Conversation

npaulish
Copy link
Collaborator

Only computes gaussian weighted band_distance for non shifted Fermi level. This is to prevent numpy warnings due to division by zero when there are no bands close to the shifted Fermi level.

@npaulish npaulish marked this pull request as draft October 16, 2023 07:10
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

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

Comparison is base (077dad2) 43.24% compared to head (262cfbd) 43.25%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   43.24%   43.25%           
=======================================
  Files          44       44           
  Lines        4229     4231    +2     
=======================================
+ Hits         1829     1830    +1     
- Misses       2400     2401    +1     
Files Coverage Δ
.../aiida_wannier90_workflows/utils/bands/distance.py 55.95% <33.33%> (-0.15%) ⬇️

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

@npaulish npaulish marked this pull request as ready for review October 17, 2023 09:56
@qiaojunfeng qiaojunfeng merged commit 8280e7b into aiidateam:main Oct 17, 2023
6 checks passed
@npaulish npaulish deleted the gaussian_weight_for_band_distance branch May 13, 2024 12:21
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.

3 participants