Closed lzy7071 closed 4 years ago
The error is generated by https://datanator.info/gene/K05036/. The reason being some reactions, such as the one returned by https://api.datanator.info/proteins/related/related_reactions_by_kegg/?ko=K05036, do not have a specific EC associated with them ({ "id": "-.-.-.-", "namespace": "ec-code" }), which leads to ec_meta object being missing from the original document in the database (ec_meta object was created from the EC information in sabio_rk collection). The following is an example where the reaction document contains EC information and ec_meta object: https://api.datanator.info/proteins/related/related_reactions_by_kegg/?ko=K00034
EC
{ "id": "-.-.-.-", "namespace": "ec-code" }
ec_meta
sabio_rk
This is the same issue as #328. I fixed this in dd337079f9318eda28bd7bf5a7e716aa4a0e4097.q
The error is generated by https://datanator.info/gene/K05036/. The reason being some reactions, such as the one returned by https://api.datanator.info/proteins/related/related_reactions_by_kegg/?ko=K05036, do not have a specific
EC
associated with them ({ "id": "-.-.-.-", "namespace": "ec-code" }
), which leads toec_meta
object being missing from the original document in the database (ec_meta
object was created from theEC
information insabio_rk
collection). The following is an example where the reaction document containsEC
information andec_meta
object: https://api.datanator.info/proteins/related/related_reactions_by_kegg/?ko=K00034