-
Notifications
You must be signed in to change notification settings - Fork 49
/
save_schema.py
35 lines (30 loc) · 1.1 KB
/
save_schema.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from owmeta_core.command import OWM
def save_schema():
owm = OWM()
for module in ('owmeta.neuron',
'owmeta.worm',
'owmeta.biology',
'owmeta.cell',
'owmeta.channel',
'owmeta.channelworm',
'owmeta.connection',
'owmeta.document',
'owmeta.evidence',
'owmeta.experiment',
'owmeta.muscle',
'owmeta.network',
'owmeta.plot',
'owmeta.website',
'owmeta.data_trans.bibtex',
'owmeta.data_trans.connections',
'owmeta.data_trans.context_merge',
'owmeta.data_trans.data_with_evidence_ds',
'owmeta.data_trans.neuron_data',
'owmeta.data_trans.wormatlas',
'owmeta.data_trans.wormbase',
'owmeta.sources',
'owmeta.translators',
):
owm.save(module)
if __name__ == '__main__':
save_schema()