Package schrodinger :: Package application :: Package canvas :: Module r_group :: Class RGroupException
[hide private]
[frames] | no frames]

Class RGroupException

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              RGroupException

This is a special exception, which is thrown when for some reason r-group calculation can not be completed. When this exception is caught remaining function calls in calculate() function are not made.

Instance Methods [hide private]

Inherited from exceptions.Exception: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Methods [hide private]
RGroupException
fromSmartsError(cls, err)
This function checks whether an exception err was due to invalid SMARTS pattern.
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

fromSmartsError(cls, err)
Class Method

 

This function checks whether an exception err was due to invalid SMARTS pattern.

Parameters:
  • err (Exception) - exception
Returns: RGroupException
exception with specific message