SBML.org — the global portal for all things SBML

echoSBML.py

echoSBML.py

Language: Python
Summary Simple program that writes out the SBML file given to it as input.
Author(s) Mike Hucka (mhucka AT caltech.edu)
Version 1.0 (16 Dec. '08)
Needs libSBML version 3
SVN Browse
Link for copying

Description

This is a simple demonstration program that takes two arguments. The first argument is a path to a file presumed to be in SBML format, and the second is a path to a destination file. This program reads the input file using libSBML and writes it to the destination file. As a consequence of the fact that it uses libSBML, the resulting text is also reformatted and pretty-printed.

Installation instructions

  1. Install libSBML if you have not already done so.
  2. Find a location in your file system where you want to copy the files.
  3. Copy the SVN link (see box at right) and use it in your SVN client to check out a copy of the files.
  4. Change your working directory (in your shell or whatever you're doing) to the echoSBML directory that you checked out from SVN.
  5. Make sure to set up your environment variables (e.g., PYTHONPATH) as needed for your installation of Python. See the libSBML documentation for more information.

Usage

echoSBML.py  /path/to/input/file/name.xml  /path/to/output/file.xml

Known problems/issues

None.

Licensing terms and distribution

This software is released under the terms of the LGPL.

Retrieved from "http://sbml.org/Community/Programs/echoSBML.py"

This page was last modified 15:25, 23 March 2009.



Please use our issue tracking system for any questions or suggestions about this website. This page was last modified 15:25, 23 March 2009.