tgbugs / ontquery

a framework querying ontology terms
MIT License
3 stars 3 forks source link

api key? #1

Closed bendichter closed 6 years ago

bendichter commented 6 years ago

Hey @tgbugs I'm trying to run your main and I'm getting

ConnectionError: Unauthorized. Did you set Cypher.api_key = my_api_key?

Do I need an api key? How would I go about acquiring one of those?

tgbugs commented 6 years ago

From https://github.com/tgbugs/pyontutils/blob/master/docs/neurons_notebook.md#scigraph.

If you want to use the SciCrunch SciGraph instance instead register for an account and get an api key.

There is no way to find this in the docs. I will improve them so that it is clear what to do.

tgbugs commented 6 years ago

Added to the README.

bendichter commented 6 years ago

@tgbugs I added the key. echo $SCICRUNCH_API_KEY works, but I'm getting the same error.

tgbugs commented 6 years ago

That is strange, I have it working in 2 contexts. Can you give me a bit more information about exactly what you are doing?

bendichter commented 6 years ago

Let me mess around with it a little bit and see if I can figure out what's going on.

Ben

On Thu, Mar 22, 2018 at 5:58 PM Tom Gillespie notifications@github.com wrote:

Reopened #1 https://github.com/tgbugs/ontquery/issues/1.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tgbugs/ontquery/issues/1#event-1536904625, or mute the thread https://github.com/notifications/unsubscribe-auth/AAziEmGqVv8aXgAxFtnS7u7sjRt5YB_5ks5thEiegaJpZM4S2Rih .

--

Ben Dichter, PhD Data Science Consultant

bendichter commented 6 years ago

got it working :-)