We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e154fec + 9db6435 commit 69bb924Copy full SHA for 69bb924
src/pybamm/__init__.py
@@ -58,6 +58,7 @@
58
from .expression_tree.operations.jacobian import Jacobian
59
from .expression_tree.operations.convert_to_casadi import CasadiConverter
60
from .expression_tree.operations.unpack_symbols import SymbolUnpacker
61
+from .expression_tree.operations.serialise import Serialise
62
63
# Model classes
64
from .models.base_model import BaseModel
src/pybamm/expression_tree/exceptions.py
@@ -66,3 +66,9 @@ class DiscretisationError(Exception):
66
"""A model could not be discretised."""
67
68
pass
69
+
70
71
+class InvalidModelJSONError(Exception):
72
+ """Raised when a model JSON file is invalid or cannot be parsed."""
73
74
+ pass
0 commit comments