Skip to content

Conversation

@jmrohwer
Copy link
Member

@jmrohwer jmrohwer commented Nov 14, 2025

By defining

ThinLayerPysces = None
ThinLayerCopasi = None

these names exist in the namespace already, and as a consequence the __getattr__(name) method never gets called. As a consequence the thinlayers are imported as None objects and not the actual thinlayers.

This PR fixes this.


This change is Reviewable

@JR-1991
Copy link
Member

JR-1991 commented Nov 15, 2025

@jmrohwer, thanks for submitting the PR and the fix! This is indeed a much better solution. I tested it locally, and everything works fine. Merging 🙌

@JR-1991 JR-1991 merged commit a0fde0f into main Nov 15, 2025
6 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.

3 participants