Skip to content

Step enhancement (prelim) - #1424

Merged
edan-bainglass merged 16 commits into
aiidalab:image-fix-pipfrom
edan-bainglass:step-ehancement
Feb 14, 2026
Merged

Step enhancement (prelim)#1424
edan-bainglass merged 16 commits into
aiidalab:image-fix-pipfrom
edan-bainglass:step-ehancement

Conversation

@edan-bainglass

@edan-bainglass edan-bainglass commented Nov 23, 2025

Copy link
Copy Markdown
Member

Based on #1337

This PR serves as preliminary work to an overall wizard-step improvement work. It does the following:

  1. Refactor wizard steps to dedicated "step.py" files
  2. Simplify class naming

DON'T SQUASH-MERGE 🙏

The refactor to step.py files is done in two commits - the first renames the init.py files to step.py, and the second reintroduces the __init__.py files. We MUST merge both (don't squash merge) to ensure history tracking.

@edan-bainglass
edan-bainglass changed the base branch from main to image-fix-pip November 23, 2025 09:46
@edan-bainglass

Copy link
Copy Markdown
Member Author

@mikibonacci in effort of simplifying the review process for #1400, I will be breaking it down into smaller, focused PRs - each with a minimal scope for ease of review. Hope it helps! This is the first.

@codecov

codecov Bot commented Nov 23, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.49640% with 114 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.32%. Comparing base (4c5ddf8) to head (fb9440a).
⚠️ Report is 29 commits behind head on image-fix-pip.

Files with missing lines Patch % Lines
src/aiidalab_qe/plugins/utils.py 39.58% 29 Missing ⚠️
src/aiidalab_qe/app/structure/step.py 63.15% 28 Missing ⚠️
src/aiidalab_qe/app/result/step.py 82.53% 22 Missing ⚠️
..._qe/app/result/components/summary/download_data.py 30.76% 9 Missing ⚠️
src/aiidalab_qe/app/submission/step.py 93.75% 8 Missing ⚠️
src/aiidalab_qe/common/widgets.py 20.00% 8 Missing ⚠️
src/aiidalab_qe/app/configuration/step.py 95.76% 5 Missing ⚠️
...lab_qe/app/configuration/advanced/hubbard/model.py 33.33% 2 Missing ⚠️
src/aiidalab_qe/__main__.py 0.00% 1 Missing ⚠️
...aiidalab_qe/app/result/components/summary/model.py 66.66% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@                Coverage Diff                @@
##           image-fix-pip    #1424      +/-   ##
=================================================
+ Coverage          72.17%   72.32%   +0.15%     
=================================================
  Files                108      112       +4     
  Lines               7263     7249      -14     
=================================================
+ Hits                5242     5243       +1     
+ Misses              2021     2006      -15     
Flag Coverage Δ
python-3.11 72.32% <79.49%> (+0.15%) ⬆️
python-3.9 72.35% <79.49%> (+0.16%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

edan-bainglass and others added 11 commits November 29, 2025 10:58
The `is_relaxed` check was only checking if "relax" is in the input properties. However, we also use "relax" for SCF runs in the absence of other properties. It is necessary to also check that indeed the calculation type (in the CONTROL namespace) is "relax" or "vc-relax".
…1439)

We were only setting active eigenvalues, missing the unset -1 values in the eigenvalues array. This leads to the misshape. This PR corrects the logic in `set_active_eigenvalues` to ensure all values, set or unset, are represented.

---------

Co-authored-by: Edan Bainglass <edan.bainglass@gmail.com>
The widget behaves quite upredictably. For versions of ipywidgets
it fails to show the content and prevents other widgets from being loaded.
* For the PP plugin, there is no associated PW calculation to complete the summary report. Therefore, the hardcoded entry has been removed for the PP plugin.

---------

Co-authored-by: Edan Bainglass <edan.bainglass@gmail.com>
The app currently depends on the latest AWB, which may break due to the ongoing migration to ipywidgets 8. Version 2.5.0 includes the required feature and provides a stable dependency.
…load

Update archive downloader w.r.t changes in aiida-core. We no longer check via an import, instead checking if the `.dump` method exists on the node.
@edan-bainglass

Copy link
Copy Markdown
Member Author

@mikibonacci this is one of the several PRs on which #1429 is rebased. Let's get these reviewed and merged quickly. Should be easy, as you've already seen these as part of reviewing #1429 🙏🙏🙏

@mikibonacci mikibonacci left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

edan-bainglass and others added 5 commits February 13, 2026 06:21
aiidalab#1425 changed the widget wrapping the logo causing the CSS class to break. This PR updates the class to accomplish the same image centering.
Add QE app article citation to home app container, app about section, app docs landing page, and app repo README.
This PR resolves circular dependencies caused by placing common things inside the app package, e.g., parameters, entry point utilities, etc.
@edan-bainglass
edan-bainglass merged commit 1886dc9 into aiidalab:image-fix-pip Feb 14, 2026
5 of 6 checks passed
@edan-bainglass

Copy link
Copy Markdown
Member Author

Hadn't noticed that this was being PR'd into another branch, not main. Will fix this

@edan-bainglass edan-bainglass mentioned this pull request Feb 14, 2026
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.

5 participants