-
Notifications
You must be signed in to change notification settings - Fork 5
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
Bug: Not possible to import only single variable or equation #81
Comments
Actually, from essm.variables import Variable
from essm.variables.utils import generate_metadata_table
class var1(Variable):
"""Test variable"""
print(Variable.__registry__)
from essm.variables.physics.thermodynamics import lambda_E
print(Variable.__registry__) The first print command correctly only returns var1, but the second returns all variables from the thermodynamics module. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For some reason,
from essm.variables.physics.thermodynamics import lambda_E
not only imports lambda_E but also all other variables in that module. This looks like a bug.The text was updated successfully, but these errors were encountered: