KarrLab / datanator_frontend

Graphical web-based interface for the Datanator toolkit for discovering data for modeling cells
https://datanator.info
MIT License
1 stars 1 forks source link

Protein category cannot be viewed #209

Closed lzy7071 closed 4 years ago

lzy7071 commented 4 years ago

An error message prompt shows. For example: datanator.info/protein/

lzy7071 commented 4 years ago

An error message prompt shows. For example: datanator.info/protein/

The solution would be to remove depth=40 from the api call, the resulting API call would be https://api.datanator.info/proteins/proximity_abundance/proximity_abundance_kegg/?kegg_id=K00978&anchor=Escherichia%20coli%20E1002&distance=40

lzy7071 commented 4 years ago

I think it is also a good place for the to advocate for async API calls to fill in different data fields. At the moment, /proteins/proximity_abundance/proximity_abundance_kegg is the only API call used to display the entire protein specific page. Instead, at least data for the kegg meta related fields can be pulled using /kegg/get_meta/?kegg_ids={}

jonrkarr commented 4 years ago

This specific example appears to work now. With merging RNA and proteins, the URL is now changed to http://localhost:3000/gene/K00978/Escherichia%20coli%20E1002.

@lzy7071 has this bug been fixed? If so, please go ahead and close the issue.

jonrkarr commented 4 years ago

This appears to be fixed.