greenelab / connectivity-search-backend

Django backend for hetnet connectivity search
https://search-api.het.io
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

API: reverse metapath in querypair endpoint result #21

Closed dhimmel closed 5 years ago

dhimmel commented 5 years ago

In #20 I forgot that we needed to also switch the direction of metapaths being returned.

dhimmel commented 5 years ago

Local testing:

conda activate hetmech-backend
python manage.py runserver
# Use the following URL
http://localhost:8000/api/v1/querypair/?source=14729&target=13178