owlcollab / owltools

OWLTools
BSD 3-Clause "New" or "Revised" License
108 stars 33 forks source link

Solr loading should be resilient in the face of unknown taxon IDs #196

Open cmungall opened 7 years ago

cmungall commented 7 years ago

E.g. when loading cgd we get

2017-05-01 10:16:25,974 INFO  (GafSolrDocumentLoader:189) Skipping taxon closures for unknown id: NCBITaxon:1136231
2017-05-01 10:16:25,980 INFO  (GafSolrDocumentLoader:189) Skipping taxon closures for unknown id: NCBITaxon:1136231
2017-05-01 10:16:25,984 INFO  (GafSolrDocumentLoader:189) Skipping taxon closures for unknown id: NCBITaxon:1136231

First, this should not be INFO, it should be WARN or ERROR. Second, no need to repeat. It should collect all issues and report at the end.

Last, we need to check that at least reflexive singleton closure is produced