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 XPS resource #1071

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Add XPS resource #1071

merged 2 commits into from
Jan 10, 2025

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Jan 10, 2025

Fix #1070

In the new code resource design, every property plugin needs a resource panel, even if the plugin does not have an additional code other than the pw.x, as in the XPS plugin.

@superstar54 superstar54 linked an issue Jan 10, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.91%. Comparing base (07593e3) to head (356bc95).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1071      +/-   ##
==========================================
+ Coverage   67.86%   67.91%   +0.04%     
==========================================
  Files         112      113       +1     
  Lines        6679     6689      +10     
==========================================
+ Hits         4533     4543      +10     
  Misses       2146     2146              
Flag Coverage Δ
python-3.11 67.91% <100.00%> (+0.04%) ⬆️
python-3.9 67.93% <100.00%> (+0.06%) ⬆️

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.

Makes sense! LGTM! Please address my comment, then good to go.

class XpsResourceSettingsModel(PluginResourceSettingsModel):
"""Model for the XPS plugin."""

title = "XPS Structure"
Copy link
Member

Choose a reason for hiding this comment

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

Why not just XPS?

Copy link
Member

Choose a reason for hiding this comment

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

I see, XAS is also XAS Structure. I think it should just be XPS and XAS.

Copy link
Member Author

Choose a reason for hiding this comment

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

I removed the structure from the title

@superstar54 superstar54 merged commit 75a792d into aiidalab:main Jan 10, 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.

XPS: Application crashed with KeyError
2 participants