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

Xml exception handling #18

Closed tclose closed 8 years ago

tclose commented 9 years ago

This PR is to be merged after #13 and adds some more descriptive error messages to the exceptions that are thrown when reading XML descriptions (plus one bugfix relating to the parsing of pow(x,y) functions).

tclose commented 9 years ago

As well as improved exception handling this PR contains some bug fixes, streamlined examples and some updated syntax (i.e. DynamicsClass->Dynamics & Dynamics->DynamicsComponent) to minimise changes to the Python library interface for 9ML objects between version 1 & 2.