greenelab / connectivity-search-frontend

Frontend code for connectivity search (formerly "Hetmech")
https://het.io/search
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Add textbox/input for metapath and path query result limit #28

Open vincerubinetti opened 5 years ago

dhimmel commented 5 years ago

I know the path query results are ranked by "percent of DWPC". Let me double check how the limit will be applied to the metapath query. Note that limiting the metapath results is not necessary at this point because we will never have an unmanageable number of metapaths.

dhimmel commented 5 years ago

query-metapaths results are sorted as per:

https://github.com/greenelab/hetmech-backend/blob/38291721f64998ee1b5fe2d724191f7a5ba556ea/dj_hetmech_app/views.py#L81-L84

However, I don't think the backend supports a limit parameter AFAIK.