-
Notifications
You must be signed in to change notification settings - Fork 1
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
PhysicalProperty
rank checks broken
#143
Comments
@ladinesa brought this up in #129. I think he had a fix. In any case, |
Thx for brining up Alvin. I spoke with him and indeed has a quick workaround, but it comes with unacceptable losses in performance. He agrees that the solution should lie with
Well, I stated my opinion above. I'd need to understand better the aim to steer it by. |
@ndaelman-hu yes, I also agree that it should be addressed within PhysicalProperty. I do not have any specific suggestions atm, I need to also look into it more. |
Problem comes when defining the |
How about only enforcing |
This is precisely what we want to avoid, because of the use of |
Maybe these cases where |
That sounds better, yes. Still, why bother with |
Looking more at the |
While testing
MappingAnnotation
, theValueError
inphysical_property.py
, line 257 gets raised due ton_bands = None
. I have 2 major issues with this check:n_
is inappropriate, as it lays claim to these naming formats, nor is this limitation ever documented. I would opt for a more flexible system of guarding quantities. Even if we stay with a reserved namespace, it should be chosen more specifically toPhysicalProperty
.@JFRudzinski could we reformulate this check to the requirements of physical property? Else, I recommend removal.
The text was updated successfully, but these errors were encountered: