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

Synchronize spin_orbit on process load #1104

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

edan-bainglass
Copy link
Member

#984 neglected to address this. The hack ensures that when a process is loaded, the unpacked parameters applied to spin_orbit in the advanced model are synchronized with the basic model (and UI by observation).

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.19%. Comparing base (2f53644) to head (dbfd590).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1104      +/-   ##
==========================================
- Coverage   71.20%   71.19%   -0.01%     
==========================================
  Files         114      114              
  Lines        7129     7130       +1     
==========================================
  Hits         5076     5076              
- Misses       2053     2054       +1     
Flag Coverage Δ
python-3.11 71.19% <100.00%> (-0.01%) ⬇️
python-3.9 71.19% <100.00%> (+<0.01%) ⬆️

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.

@edan-bainglass edan-bainglass changed the title Resync basic model's spin_orbit on process load Re-sync basic model's spin_orbit on process load Jan 18, 2025
@edan-bainglass edan-bainglass changed the title Re-sync basic model's spin_orbit on process load Synchronize spin_orbit on process load Jan 18, 2025
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.

LGTM!

@edan-bainglass edan-bainglass merged commit 6dc762b into aiidalab:main Jan 19, 2025
8 checks passed
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