-
Notifications
You must be signed in to change notification settings - Fork 0
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
Categorising UCD status #4
Comments
I think, the confusion here comes from whether the present or past tense is used. Personally I use the past tense, hence: a deprecedated word is no more valid because of its deprecated status. Though, it was a recommended word, in the last supported version of UCDList-x.y. I may be wrong. It is true that a deprecated word is an old IVOA recommended world and is grammatically valid and recognised (so I should probably fix this last point). But I am not sure it is still a recommended word....it is actually recommended to not use it anymore. What makes more sense according to you? Anyway, I am confused by your interpretation of |
You are right that my I agree that deprecated words should not be recommended. I was mostly confused by deprecated words not being recognised. If that gets resolved, then I can identify deprecated as (recognised && !recommended) - do you agree? - and do everything that I want. (In the mean time I'm checking for the string " |
No, sorry :-( For a UCD word officially defined by the IVOA (UCDList-x.y), this condition is enough. However, it is possible to define its own custom UCD words. So, a custom UCD word is recognised but not recommended (by the IVOA). It does not make it necessarily a deprecated word. Actually, for what you want to achieve, I think you need a new function: something like |
This |
Got it. Using |
Ok :) Having a |
It would fit in with the other |
FYI, I just added the followings functions in
|
@gmantele, I'm trying to write a function that reports a single category for a presented UCD. My current attempt looks like this:
However, it's not doing what I want. In particular it never seems to report DEPRECATED, because deprecated words are flagged as not recognised as well as not recommended, which is not what I expected from the
UCDWord
javadocs:Can you advise? Thanks.
The text was updated successfully, but these errors were encountered: