You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the EarthPortal, we have cases where users needs a vocabulary or ontology uploaded and available quickly, without having the time to discuss about the acronym. Currently, the only way to change it is to delete the entry and make a new one, but that comes at the cost of losing all the history of the ontology. On the technical part, the acronym is used as the identifier of the ontology, so it cannot be changed easily.
Would it be possible to make a script that either changes the acronym by changing the ID and do all necessary operations to reflect that in the backend, or alternatively, transfer all the data of an ontology into a new one (copy-paste everything except the acronym) and delete the old one ? @syphax-bouazzouni@jonquet@alexskr
The text was updated successfully, but these errors were encountered:
A possible solution, that can be easily done, is to use the bin/ncbo_import_ontology script, originally made to import an ontology from another repository with a copy of all its metadata.
But it can work to import an ontology of the same repository, with just a different ACRONYM. After that, the old version needs to be deleted manually.
Automizing this with a new script encapsulating the import one can be usefull.
In the EarthPortal, we have cases where users needs a vocabulary or ontology uploaded and available quickly, without having the time to discuss about the acronym. Currently, the only way to change it is to delete the entry and make a new one, but that comes at the cost of losing all the history of the ontology. On the technical part, the acronym is used as the identifier of the ontology, so it cannot be changed easily.
Would it be possible to make a script that either changes the acronym by changing the ID and do all necessary operations to reflect that in the backend, or alternatively, transfer all the data of an ontology into a new one (copy-paste everything except the acronym) and delete the old one ?
@syphax-bouazzouni @jonquet @alexskr
The text was updated successfully, but these errors were encountered: