Open jonrkarr opened 4 years ago
I am not too sure what it means but here's what I did to replicate the isssue:
I searched for trehalose
using the endpoint /ftx/text_search/num_of_index
I found the document with rxn_id: 1177
and kinlaw_id: [56592]
, that's the reaction indicated in the first bullet point.
There are data associated with the reaction document.
If you were referring to Km
or kcat
, the has_poi
(meaning has parameters, or rate constants, of interest) indicates if reactions have parameter information Km
or kcat`. But I think we should return all reactions in the result, regardless of if it has rate constant information or not.
I was referring to search results for trehalose
: https://datanator.info/search/trehalose/.
Of the top 10 reaction results, 6 of the links point to pages which don't display any data. Examples:
The issue was that the search results include parameters that the frontend doesn't understand. I fixed most of the cases by extending the front end to support K_I (inhibitory constants) and parameters that use non-canonical units (by adding separate columns for units).
With my changes, the above errors are not longer relevant. Ignore the message above.
We still need to make 1 change to the reaction full text search. The full text search should only cover parameters with the following type
or sbo_type
:
Similar to #86 and #89, upon further reflection, I think its useful for Datanator explicitly communicate the absence of relevant data.
When we have more time, lets add an option to only return reactions that have kinetic measurements -- at least one parameter with (a) value
or observed_value
!= null and (b) type
or sbo_type
is equal one of the following:
Example: