althonos / althonos/pronto

Synonym modelling and trailing modifiers

Ouverte
#95 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
267
Forks
48
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi,
I am trying to copy the synonyms of a Term from an ontology to a new ontology, but part of the information (trailing modifiers) is not coded when pronto models the synonyms. The trailing modifiers are date and language. Here is an example.
Synonym structure in the original OBO file:
`synonym: "SYNONYM_1" NARROW SYN [ABC] {lang="en", date="2020-09-04"}`
The synonym printed:
`Synonym(‘SYNONYM_1’, scope='NARROW', type=SynonymType('SYN', 'SYN'), xrefs={Xref(' ABC ')})`
The result after copying the synonym in a new ontology:
`synonym: "SYNONYM_1" NARROW SYN [ABC]`
How could I add the trailing modifiers to the synonym?
Thank you,
José Luis

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.