Table of Contents

Class: linear_formula ../bkchem/oasa/oasa/linear_formula.py
Base Classes   
object
Methods   
__init__
chunk_to_atoms
expand_abbrevs
get_last_free_atom
parse_form
parse_text
  __init__ 
__init__ (
        self,
        text="",
        valency=0,
        mol=None,
        )

valency specifies the already occupied valency of the submited formula, it is usually used when parsing groups

  chunk_to_atoms 
chunk_to_atoms (
        self,
        chunk,
        mol,
        )

  expand_abbrevs 
expand_abbrevs ( self,  text )

  get_last_free_atom 
get_last_free_atom ( self,  mol )

  parse_form 
parse_form (
        self,
        text,
        valency=0,
        mol=None,
        reverse=False,
        )

  parse_text 
parse_text (
        self,
        text,
        valency=0,
        mol=None,
        )


Table of Contents

This document was automatically generated on Tue Dec 12 13:46:43 2006 by HappyDoc version 2.1