mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 00:34:29 +00:00
23 lines
511 B
Python
23 lines
511 B
Python
|
"""
|
||
|
Maps to change the loaded .yaml from nwb schema before it's
|
||
|
"""
|
||
|
|
||
|
from nwb_linkml.map import KeyMap, SCOPE_TYPES, PHASES
|
||
|
|
||
|
MAP_HDMF_DATATYPE_DEF = KeyMap(
|
||
|
source="\'data_type_def\'",
|
||
|
target="\'neurodata_type_def\'",
|
||
|
scope='hdmf-common',
|
||
|
scope_type=SCOPE_TYPES.namespace,
|
||
|
phase=PHASES.postload
|
||
|
)
|
||
|
|
||
|
MAP_HDMF_DATATYPE_INC = KeyMap(
|
||
|
source="\'data_type_inc\'",
|
||
|
target="\'neurodata_type_inc\'",
|
||
|
scope='hdmf-common',
|
||
|
scope_type=SCOPE_TYPES.namespace,
|
||
|
phase=PHASES.postload
|
||
|
)
|
||
|
|