Skip to content

Conversation

@dayantur
Copy link

While addressing #851, I noticed ArchetypeProperties params were missing from _validate_stebbs in config.py.
When stebbsmethod ==1, _validate_stebbs must check for parmaters in stebbs AND building_archetype blocks.

@dayantur dayantur temporarily deployed to github-pages-preview November 30, 2025 21:19 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Nov 30, 2025

🔍 Schema Preview Deployed

Preview URLs:

Production URLs (unchanged):


⚠️ Important: Preview schemas are in a subdirectory and do not affect production. The preview pages include warning banners to prevent accidental use in production configs.

Co-authored-by: dayantur <71443948+dayantur@users.noreply.github.com>
@github-actions
Copy link

🤖 I've automatically formatted the code in this PR using:

  • Python: ruff v0.8.6
  • Fortran: fprettify v0.3.7

Please pull the latest changes before making further edits.

@dayantur dayantur self-assigned this Nov 30, 2025
@dayantur dayantur temporarily deployed to github-pages-preview November 30, 2025 21:48 — with GitHub Actions Inactive
@dayantur dayantur temporarily deployed to github-pages-preview November 30, 2025 21:50 — with GitHub Actions Inactive
@dayantur dayantur marked this pull request as ready for review November 30, 2025 21:50
@dayantur dayantur requested a review from sunt05 November 30, 2025 21:50
@dayantur dayantur temporarily deployed to github-pages-preview November 30, 2025 22:13 — with GitHub Actions Inactive
…uilding_archetype is absent

Make _validate_stebbs continue and enumerate missing params even if building_archetype is absent. Add a small empty container instead of early-return so tests that expect "Missing required STEBBS parameters:" pass.
@dayantur dayantur temporarily deployed to github-pages-preview November 30, 2025 22:26 — with GitHub Actions Inactive
sunt05
sunt05 previously approved these changes Dec 1, 2025
Copy link

@sunt05 sunt05 left a comment

Choose a reason for hiding this comment

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

Thanks @dayantur - looks good to me :)

@sunt05 sunt05 added this pull request to the merge queue Dec 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 1, 2025
@dayantur dayantur added this pull request to the merge queue Dec 1, 2025
@dayantur
Copy link
Author

dayantur commented Dec 1, 2025

@sunt05 seems that some tests (unrelated to this work) are failing on remote when adding this PR to merge queue. I had a look at that and all seems related to udunits2 not installed on remote?
(Tests are all green on my machine!)

@sunt05
Copy link

sunt05 commented Dec 1, 2025

Hi @dayantur this is caused by a recent change in a dependency package - sorting it out now.

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 1, 2025
@dayantur dayantur added this pull request to the merge queue Dec 1, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 1, 2025
* add ARCHETYPE_REQUIRED_PARAMS to config.py and extend _validate_stebbs to building_archetype params

* style: auto-format code with ruff and fprettify

Co-authored-by: dayantur <71443948+dayantur@users.noreply.github.com>

* refactor _validate_stebbs to use a single logic for both stebbs and building_archetype logic

* update CHANGELOG.md

* fix: _validate_stebbs continue and enumerate missing params even if building_archetype is absent

Make _validate_stebbs continue and enumerate missing params even if building_archetype is absent. Add a small empty container instead of early-return so tests that expect "Missing required STEBBS parameters:" pass.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 1, 2025
@sunt05 sunt05 enabled auto-merge December 1, 2025 15:25
@sunt05 sunt05 added this pull request to the merge queue Dec 1, 2025
Merged via the queue into master with commit 9c4ec0d Dec 1, 2025
16 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