Skip to content

Fix issue 267#270

Open
mschwoer wants to merge 5 commits intomainfrom
fix_issue_267
Open

Fix issue 267#270
mschwoer wants to merge 5 commits intomainfrom
fix_issue_267

Conversation

@mschwoer
Copy link
Contributor

@mschwoer mschwoer commented Mar 6, 2026

Fixes #267

CC:
Before PR #245, these were module-level constants evaluated at import time: The CLI loads settings after import, so these constants captured the default values, not the user's values. This was a latent bug that only became visible when PR #245 changed the defaults — now the mismatch between the constant (captured at import time) and the user's runtime settings actually mattered, because the code started requiring a file (charge.pth) that only exists in the v3 zip.

@mschwoer mschwoer requested a review from mo-sameh March 6, 2026 08:38
Copy link
Collaborator

@mo-sameh mo-sameh left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

Unable to load the model despite valid model .zip freshly downloaded

2 participants