x-atlas-consortia / ubkg-api

A web service for the Unified Biomedical Knowlege Graph system
MIT License
0 stars 0 forks source link

sources endpoint #124

Closed AlanSimmons closed 3 months ago

AlanSimmons commented 3 months ago

sources endpoint: returns information on the sources that can be imported into a UBKG context

AlanSimmons commented 3 months ago

The endpoint works when ubkg-api is installed as an editable package--i.e., requirements.txt shows

https://github.com/x-atlas-consortia/ubkg-api.git@simmons/sources-endpoint

instead of ubkg-api==<version>

where 2.1.2 would be the (bumped) version of ubkg-api.

If this does not work when ubkg-api is compiled as a package, I think that we'll need to add the cypher folder to a MANIFEST.in file in the src path, as described here.

I can create the MANIFEST.in file; however, I would not be able to test it, because I don't have privileges to create packages in PyPi.

AlanSimmons commented 3 months ago

@yuanzhou I just pushed a MANIFEST.in file. It only contains one statement:

# Add to the package distribution query strings in the Cypher path.

graft src/cypher