Closed pagreene closed 2 years ago
Maybe would be good to add a code example in here somewhere on how to take advantage of the curation endpoint in combination with the INDRA filter_by_curation()
function https://github.com/sorgerlab/indra/blob/bc39dae6849b1fd484d83eabb3d2afee963a6298/indra/tools/assemble_corpus.py#L1669
Just tested locally, will test on db.indra.bio/dev
This PR makes it so that users with any credentials (an API key or account) can get all the curations, however without extra permissions the identities will be hashed and salted.
This PR adds a new config environment variable:
INDRA_DB_API_CURATOR_SALT
.This PR also switches to using the
pathlib.Path
object for file paths.