intermine / bluegenes-go-concept-relation

MIT License
0 stars 5 forks source link

Handle gene records that don't have goAnnotation #17

Closed heralden closed 4 years ago

heralden commented 4 years ago

When testing on FlyMine lists, it seems the tool crashed due to many of the genes missing a goAnnotation.

You can use the following array of IDs for testing (note that this will require https://github.com/intermine/bluegenes-go-concept-relation/pull/16).

[1104775, 1068742, 1039501, 1058279, 1074968, 1068367, 1008553, 1693557, 1428781, 1176763, 1025873, 1292175, 1084284, 1011037, 1375813, 1730754, 1152482, 1058717, 1048364, 1012692, 1001224, 1431791, 1543691, 1218584, 1077099, 1723360, 1016084, 1046754, 1156660, 1188938, 1517870, 1436253, 1076864, 1001037, 1051115, 1464788, 1002362]

Looking at the source code, a lacking goAnnotation is handled in many places except in RootContainer when working on the ontology list.

heralden commented 4 years ago

Fixed in linked PR.