-
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
Emit correct datatype for date field (and maybe other fields) #278
Comments
@dustine32 It would be on the minerva side, as the over-the-wire model has no concept of type in that way. I suspect it's just some quirk of SPARQL dealing with a "mixed-type" sort that gives the strange results... |
@kltm So, if this is in minerva, should I still attempt to fix the YeastPathways |
@dustine32 By "on the minerva side", I'm meaning where the search and sort code are having trouble. |
@kltm Right! Thank you for clarifying. I agree that we should probably get pathways2GO code to emit correctly since it will be used in the future for more models. Speaking of which, I'm now talking to the evil chatbot and it seems to know some OWLAPI things. |
From the 2023-09-14 Noctua maintenance, we loaded YeastPathways models to production and noticed that only 10 of the 220 models, which were all dated that day, would sort to the top of the Noctua landing page. The remaining 210 models did not appear to be sorted correctly.
@kltm pointed out that there was a format difference in the date field for these YeastPathways models vs. other (e.g., manual) models:
I tested this by loading a YeastPathways model file into a local minerva instance and checking the the landing page where it did not sort to the top despite being the most recent dated. Then, I
sed
-appended the^^xsd:string
to every date value (so,"2023-09-14"^^xsd:string
) in the model, reloaded, and this edited model sorted correctly to the top.Apparently, for whatever reason, the sorting mechanism in either minerva or the Noctua landing page doesn't like this lack of a
^^xsd:string
datatype. So, we should try to get the conversion code to emit this for date. Possibly, look at what other fields are easy to fix as well.Still, it is weird the first 10 models sorted correctly even though they also had the bad datatype formatting.
The text was updated successfully, but these errors were encountered: