Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/9/m/9ML-0.1.0/nineml/examples/UL/simple_example.py   9ML(Download)
 
model = nineml.Model("Simple 9ML example model")
model.add_group(network)
 
 

src/9/m/9ML-0.1.0/nineml/examples/UL/nested_example.py   9ML(Download)
 
model = nineml.Model("Nested 9ML example model")
model.add_group(network)
 
model.write("nested_example.xml")

src/p/y/PyNN-HEAD/src/nineml/__init__.py   PyNN(Download)
                    _projections.remove(prj)
                    group.add(prj.to_nineml())
            model.add_group(group)
        for p in _populations:
            main_group.add(p.to_nineml())
        for prj in _projections:
            main_group.add(prj.to_nineml())
        model.add_group(main_group)

src/9/m/9ML-0.1.0/test/test_to_resolve/test_roundtripUL.py   9ML(Download)
 
    model = nineml.Model("Simple 9ML example model")
    model.add_group(network)
    return model
 
 
    model = nineml.Model("Nested 9ML example model")
    model.add_group(network)
    return model