-
Notifications
You must be signed in to change notification settings - Fork 10
Fix: building_archetype nullified when stebbsmethod == 0 #958
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: building_archetype nullified when stebbsmethod == 0 #958
Conversation
🔍 Schema Preview DeployedPreview URLs:
Production URLs (unchanged):
|
…chetype-when-stebbs-is-off
PR Review SummaryOverall Assessment: ✅ Approve with minor suggestions
Key Findings✅ What's Good
|
sunt05
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comment on CHANGELOG.md
…chetype-when-stebbs-is-off
Documentation PreviewPreview URL: https://umep-dev.github.io/SUEWS/preview/pr-958/docs/ This is a PR preview. Production docs remain at https://suews.readthedocs.io |
…also building_archetype nullification and fixed precheck_model_option_rules to include building_archetype in the nullification logic
Co-authored-by: dayantur <71443948+dayantur@users.noreply.github.com>
|
🤖 I've automatically formatted the code in this PR using:
Please pull the latest changes before making further edits. |
|
Hi @sunt05 - test added & changelog PR specification included :) |
…chetype-when-stebbs-is-off
While addressing #851 , I noticed ArchetypeProperties params were not nullified in phase_b.py when stebbsmethod ==0.
When stebbsmethod ==0, both stebbs and building_archetype params must be set to null.
This PR also edits all ArchetypeProperties Pydantic fields to become Optional (allowing for null values).