mordred.tests.test_exceptions module

class mordred.tests.test_exceptions.RaiseDescriptor(e, critical)[source]

Bases: mordred._base.descriptor.Descriptor

parameters()[source]
as_argument

argument representation of descriptor

coord

get 3D coordinate

explicit_hydrogens = True
fail(exception)

raise known exception and return missing value

kekulize = False
mol

get molecule

require_3D = False
require_connected = False
rethrow_na(exception)

treat any exceptions as known exception

rethrow_zerodiv()

treat zero div as known exception

rtype = None
mordred.tests.test_exceptions.test_catch_non_critical_error()[source]