File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,15 @@ class neuroml(Base):
109
109
xmlns : str = field (
110
110
validator = instance_of (str ), default = "http://www.neuroml.org/schema/neuroml2"
111
111
)
112
+ xmlns_url : str = field (
113
+ validator = instance_of (str ), default = "http://www.w3.org/2001/XMLSchema-instance"
114
+ )
115
+ xmlns_loc : str = field (
116
+ validator = instance_of (str ), default = "http://www.neuroml.org/schema/neuroml2"
117
+ )
118
+ xmln_loc_2 : str = field (
119
+ validator = instance_of (str ), default = "https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.3.xsd"
120
+ )
112
121
113
122
izhikevich2007Cells : List [izhikevich2007Cell ] = field (factory = list )
114
123
pulseGenerators : List [pulseGenerator ] = field (factory = list )
@@ -187,3 +196,7 @@ class neuroml(Base):
187
196
yy = yaml .dump (doc_dict , indent = 4 , sort_keys = False )
188
197
print (yy )
189
198
d .write (yy )
199
+
200
+ from modelspec .utils import load_xml
201
+ new_neuroml = load_xml ('hello_world_neuroml.net.nml' )
202
+ print (new_neuroml )
You can’t perform that action at this time.
0 commit comments