-
Notifications
You must be signed in to change notification settings - Fork 9
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
Evaluation method of _atom_site.type_symbol
#452
Comments
I agree that this particular dREL code should be However, I don't think the changes to dREL are particularly troublesome or widespread. Essentially all accesses to the type symbol for an atom should go through Perhaps I'm missing why other dREL codes should also become |
I was unsure if dREL methods automatically resolve values to their defaults or not. If the default values are not automatically used, then there is no problem. However, if they are automatically resolved (including the logic in dREL However, rereading the description of
The "
If this is the intended interpretation, then we do not even need to change the method type of |
So, in general, the default value should always be used by dREL if a value is missing. The correct reading of the definition here should be the second one, that is, it will always match unless an explicit |
The dREL method for
_atom_site.type_symbol
may need to be redesignated fromEvaluation
toDefinition
and instead provide a default value instead of a definitive one. The reason for the proposed change is that the 0-th component of_atom_site.label
may match the type symbol, but it is not required to do so.However, if this change is implemented then all other dREL Evaluation methods that rely on this item would also need to be redesignated as definition methods (for example, see PR #451 which uses this item in the dREL evaluation code for the
ATOM_TYPE
category).Any ideas on how this could be resolved?
The text was updated successfully, but these errors were encountered: