G-Node / G-Node/python-odml

Usage of a odML template files

Aperta
#137 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
25
Fork
30
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

With the separation of more complex odML tree structures from the odML terminology side to a template store side (cf. #136) we could also provide a function that loads an odML file via an url or a local repository as an odML template:

```python
import odml

# returns the template odml file from the template store page (as clone)
doc1 = odml.load_template(url_some_temp_store_file)

# returns some local file (as clone) with the option to empty all values
doc2 = odml.load_template(dir_some_local_file, empty_values=True)
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.