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

Fix code_widget_class for PW #938

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Nov 21, 2024

I used PwCodeModel, but got an error that there is no parallelization widget. Then I learned that I need to pass PwCodeResourceSetupWidget as the code_widget_class.

It would be good to make PwCodeResourceSetupWidget default code_widget_class for PwCodeModel.

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.05%. Comparing base (97915df) to head (e01976b).
Report is 137 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #938      +/-   ##
==========================================
+ Coverage   68.04%   68.05%   +0.01%     
==========================================
  Files         104      104              
  Lines        5793     5795       +2     
==========================================
+ Hits         3942     3944       +2     
  Misses       1851     1851              
Flag Coverage Δ
python-3.11 68.05% <100.00%> (+0.01%) ⬆️
python-3.9 68.06% <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.

Copy link
Member

@edan-bainglass edan-bainglass 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. As discussed, just add the defaults and this is good to go 💪

@superstar54 superstar54 merged commit ab528b6 into aiidalab:main Nov 21, 2024
8 checks passed
@superstar54 superstar54 deleted the fix/pw_code_class branch November 21, 2024 23:42
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