gyorilab / indra_db

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.
GNU General Public License v3.0
16 stars 10 forks source link

Source badge order #205

Closed kkaris closed 2 years ago

kkaris commented 2 years ago

This PR changes the order of the statement row source badges. The dict of lists that determines the order of the badges is now set in api.py instead of in the jinja template.

Test by checking out the branch, running indra-db-service test-service and running a query that yields many badges and compare the ordering of the badges to the order in the source lists db_sources and reader_sources in indra/util/statement_presentation.py