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

Add slider to adjust fat bands width #808

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

t-reents
Copy link
Contributor

@AndresOrtegaGuerrero as discussed, I added a slider to control the width of the fat bands. It will only become visible once you enable the fat bands. In agreement with the previous logic, you need to click the update button to adjust the width. The slider covers a range from 10 to 750 meV/atom as the maximum width of a fat band.

A slider is added to the `BandPdosWidget` to enable the control of the
fat bands width. This is necessary as different bandstructures require a
different resolution.
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 68.76%. Comparing base (6c7d6b6) to head (2a0a929).
Report is 79 commits behind head on main.

Files with missing lines Patch % Lines
src/aiidalab_qe/common/bandpdoswidget.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #808      +/-   ##
==========================================
- Coverage   68.79%   68.76%   -0.04%     
==========================================
  Files          49       49              
  Lines        4243     4245       +2     
==========================================
  Hits         2919     2919              
- Misses       1324     1326       +2     
Flag Coverage Δ
python-3.11 68.76% <20.00%> (-0.04%) ⬇️
python-3.9 68.79% <20.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.

Copy link
Member

@AndresOrtegaGuerrero AndresOrtegaGuerrero left a comment

Choose a reason for hiding this comment

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

I tested it it works really well, thank you for your Job , LGTM

@AndresOrtegaGuerrero AndresOrtegaGuerrero merged commit 7e45607 into aiidalab:main Sep 24, 2024
8 checks passed
edan-bainglass pushed a commit to edan-bainglass/aiidalab-qe that referenced this pull request Oct 24, 2024
A slider is added to the `BandPdosWidget` to enable the control of the
fat bands width. This is necessary as different bandstructures require a
different resolution.
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