BlueBrain / neurocurator

Desktop application (GUI) to perform systematic and collaborative curation of neuroscientific literature.
https://pypi.python.org/pypi/neurocurator/
Other
16 stars 2 forks source link

Ontology service REST access point URL #8

Open christian-oreilly opened 7 years ago

christian-oreilly commented 7 years ago

The nat ontoServ.py script: 1) hard code the URL for the ontology service points 2) provide a set of functions.

This code should probably be re-factored as a proper OntoServ class and the URL should be passed at the initialization (maybe using the presently hard coded values as default values for backward compatibility). The URL should be modifiable in the preference dialog of the NeuroCurator.

christian-oreilly commented 7 years ago

Related to this issue, the ontology tags used so far are just the tag ID, not a full URI. This cause issue if we want to support different endpoints. We should probably move to full URI, but we need also to provide the code needed to port existing annotations.