Skip to content
Snippets Groups Projects
chem_load_save.rst 1.52 KiB
Newer Older
malav4994's avatar
malav4994 committed
************************
Load - Run - Save models
************************

.. hidden-code-block:: reStructuredText
   :label: How to run these examples

   Each of the following examples can be run by clicking on the green source button
   on the right side of each example, and running from within a ``.py`` python file
   on a computer where moose is installed.

   Alternatively, all the files mentioned on this page can be found in the main
   moose directory. They can be found under 

       (...)/moose/moose-examples/snippets

   They can be run by typing 

       $ python filename.py

   in your command line, where filename.py is the python file you want to run.

   All of the following examples show one or more methods within each python file.
   For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
   describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
   methods.

   The filename is the bit that comes before the ``.`` in the blue boxes, with
   ``.py`` added at the end of it. In this case, the file name would be
   ``cubeMeshSigNeur.py``.
|


malav4994's avatar
malav4994 committed
Load a Kinetic Model
--------------------

.. automodule:: loadKineticModel
   :members:

Load an SBML Model
-------------------

.. automodule:: loadSbmlmodel
   :members:

Load a CSpace Model
-------------------

.. automodule:: loadCspaceModel
   :members:

Save a model into SBML format
-----------------------------

.. automodule:: convert_Genesis2Sbml
   :members:

Save a model
------------

.. automodule:: savemodel
   :members: