| Methods |  | 
        
        | __init__ __str__
 expand
 get_formula_dict
 get_package
 interpret_name
 read_package
 set_name
 
 | 
            |  | __init__ | 
        
        | 
__init__ (
        self,
        standard=None,
        xy=(),
        package=None,
        molecule=None,
        )
 | 
            |  | __str__ | 
        
        | 
__str__ ( self )
 | 
            |  | expand | 
        
        | 
expand ( self )
 expands the group and returns list of atoms that new drawing afterwords | 
            |  | get_formula_dict | 
        
        | 
get_formula_dict ( self )
 returns formula as dictionary that can
    be passed to functions in periodic_table | 
            |  | get_package | 
        
        | 
get_package ( self,  doc )
 returns a DOM element describing the object in CDML,
    doc is the parent document which is used for element creation
    (the returned element is not inserted into the document) 
        
            | Exceptions |  |  
        | ValueError, "trying to save group without set group-type" 
 |  | 
            |  | interpret_name | 
        
        | 
interpret_name ( self,  name )
 | 
            |  | read_package | 
        
        | 
read_package ( self,  package )
 reads the dom element package and sets internal state according to it | 
            |  | set_name | 
        
        | 
set_name (
        self,
        name,
        interpret=1,
        occupied_valency=None,
        )
 |