Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 763d6289e1351f2d34257ce697a3ccb7 > files > 261

biopython-doc-1.47-2mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Bio.ECell.ecell_format</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Bio-module.html">Package&nbsp;Bio</a> ::
        <a href="Bio.ECell-module.html">Package&nbsp;ECell</a> ::
        Module&nbsp;ecell_format
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Bio.ECell.ecell_format-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module ecell_format</h1><p class="nomargin-top"><span class="codelink"><a href="Bio.ECell.ecell_format-pysrc.html">source&nbsp;code</a></span></p>
<pre class="literalblock">
Martel based parser to read ECell formatted files.

This is a huge regular regular expression for ECell, built using
the 'regular expressiona on steroids' capabilities of Martel.

http://www.bioinformatics.org/ecell2/
Notes:
Just so I remember -- the new end of line syntax is:
  New regexp syntax - \R
     \R    means &quot;
|
?&quot;
     [\R]  means &quot;[

]&quot;

This helps us have endlines be consistent across platforms.

</pre>

<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="excluded_chars"></a><span class="summary-name">excluded_chars</span> = <code title="''' \t
\r'''"><code class="variable-quote">'</code><code class="variable-string"> \t\n\r</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="block_type"></a><span class="summary-name">block_type</span> = <code title="Group(&quot;block_type&quot;, Expression.NoCase(Str(&quot;Type&quot;)))">Group(&quot;block_type&quot;, Expression.NoCase(Str(&quot;Type&quot;)))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="header_line"></a><span class="summary-name">header_line</span> = <code title="Group(&quot;header_line&quot;, block_type+ ToEol())">Group(&quot;header_line&quot;, block_type+ ToEol())</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="tab"></a><span class="summary-name">tab</span> = <code title="Group(&quot;tab&quot;, Str('\t'))">Group(&quot;tab&quot;, Str('\t'))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#system_tag" class="summary-name">system_tag</a> = <code title="Group(&quot;system_tag&quot;, Expression.NoCase(Str(&quot;system&quot;)))">Group(&quot;system_tag&quot;, Expression.NoCase(Str(&quot;system<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#reactor_tag" class="summary-name">reactor_tag</a> = <code title="Group(&quot;reactor_tag&quot;, Expression.NoCase(Str(&quot;Reactor&quot;)))">Group(&quot;reactor_tag&quot;, Expression.NoCase(Str(&quot;Reac<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#substance_tag" class="summary-name">substance_tag</a> = <code title="Group(&quot;substance_tag&quot;, Expression.NoCase(Str(&quot;Substance&quot;)))">Group(&quot;substance_tag&quot;, Expression.NoCase(Str(&quot;<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="system_line"></a><span class="summary-name">system_line</span> = <code title="Group(&quot;system_line&quot;, system_tag+ ToEol())">Group(&quot;system_line&quot;, system_tag+ ToEol())</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="reactor_line"></a><span class="summary-name">reactor_line</span> = <code title="Group(&quot;reactor_line&quot;, reactor_tag+ ToEol())">Group(&quot;reactor_line&quot;, reactor_tag+ ToEol())</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="substance_line"></a><span class="summary-name">substance_line</span> = <code title="Group(&quot;substance_line&quot;, substance_tag+ ToEol())">Group(&quot;substance_line&quot;, substance_tag+ ToEol())</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="continuation_line"></a><span class="summary-name">continuation_line</span> = <code title="Group(&quot;continuation_line&quot;, tab+ ToEol())">Group(&quot;continuation_line&quot;, tab+ ToEol())</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="include_line"></a><span class="summary-name">include_line</span> = <code title="Group(&quot;include_line&quot;, Str('include')+ ToEol())">Group(&quot;include_line&quot;, Str('include')+ ToEol())</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#substance_multiline" class="summary-name">substance_multiline</a> = <code title="Group(&quot;substance_multiline&quot;, substance_line+ Rep(continuation_line))">Group(&quot;substance_multiline&quot;, substance_l<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#reactor_multiline" class="summary-name">reactor_multiline</a> = <code title="Group(&quot;reactor_multiline&quot;, reactor_line+ Rep(continuation_line))">Group(&quot;reactor_multiline&quot;, reactor_line+ R<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="system_block"></a><span class="summary-name">system_block</span> = <code title="Group(&quot;system_block&quot;, Rep1(system_line))">Group(&quot;system_block&quot;, Rep1(system_line))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="reactor_block"></a><span class="summary-name">reactor_block</span> = <code title="Group(&quot;reactor_block&quot;, Rep1(reactor_multiline))">Group(&quot;reactor_block&quot;, Rep1(reactor_multiline))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#substance_block" class="summary-name">substance_block</a> = <code title="Group(&quot;substance_block&quot;, Rep1(substance_multiline))">Group(&quot;substance_block&quot;, Rep1(substance_mult<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Bio.ECell.ecell_format-module.html#valid_block" class="summary-name">valid_block</a> = <code title="Group(&quot;valid_block&quot;, header_line+ Alt(system_block, reactor_block, sub\
stance_block))">Group(&quot;valid_block&quot;, header_line+ Alt(system_blo<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="valid_contents"></a><span class="summary-name">valid_contents</span> = <code title="Group(&quot;valid_contents&quot;, Rep1(valid_block))">Group(&quot;valid_contents&quot;, Rep1(valid_block))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ecell_record"></a><span class="summary-name">ecell_record</span> = <code title="Group(&quot;valid_contents&quot;, Rep1(valid_block))">Group(&quot;valid_contents&quot;, Rep1(valid_block))</code>
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="system_tag"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">system_tag</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;system_tag&quot;, Expression.NoCase(Str(&quot;system&quot;)))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="reactor_tag"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">reactor_tag</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;reactor_tag&quot;, Expression.NoCase(Str(&quot;Reactor&quot;)))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="substance_tag"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">substance_tag</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;substance_tag&quot;, Expression.NoCase(Str(&quot;Substance&quot;)))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="substance_multiline"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">substance_multiline</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;substance_multiline&quot;, substance_line+ Rep(continuation_line))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="reactor_multiline"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">reactor_multiline</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;reactor_multiline&quot;, reactor_line+ Rep(continuation_line))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="substance_block"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">substance_block</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;substance_block&quot;, Rep1(substance_multiline))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="valid_block"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">valid_block</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Group(&quot;valid_block&quot;, header_line+ Alt(system_block, reactor_block, sub<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
stance_block))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Sep 15 09:26:23 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>