A Database-based knowledge back-end built on and for INDRA. The INDRA Database is a service that can be set up by any user with their own content and knowledge access. Our implementation of the database is the back-end to many of our projects, providing a vast and detailed knowledge base derived from many resources.
This PR updates the helper method _get_existing in indra_db/copy_utils.py to use the _num columns of the text_ref table instead of the string version of the same. This speeds up the query for the text_ref use case 3600-7200 times.
~Todo before this PR is ready for review:~
~Check that the update doesn't break the other daily update scripts (not expected).~
This PR updates the helper method
_get_existing
inindra_db/copy_utils.py
to use the_num
columns of thetext_ref
table instead of the string version of the same. This speeds up the query for thetext_ref
use case 3600-7200 times.~Todo before this PR is ready for review:~ ~Check that the update doesn't break the other daily update scripts (not expected).~