Open christian-oreilly opened 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.
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.