INCF / nineml-python

A Python library for reading, parsing, validating and writing the 9ML (http://nineml.net) object model
Other
6 stars 10 forks source link

Standardised accessors, added modifiers and tools for code-gen #6

Closed tclose closed 9 years ago

tclose commented 9 years ago

This PR combines a few different enhancements that generally clean up the code and a few that are required to get my code generation code to work but which I thought would be nice to have upstream:

tclose commented 9 years ago

Just checked that this branch works with the Brunel Model. To do so I had to push some more changes to my code generation and pyNN branches

tclose commented 9 years ago

Also implemented __getitem__ for convenient access to members by name only (would not be recommended way to access them in production scripts but useful for prototyping and debugging)