Source code for mordred.tests.Dummy

from mordred import Descriptor


[docs]class Dummy1(Descriptor): pass
[docs]class Dummy2(Dummy1):
[docs] def parameters(self): return ()
def calculate(self, mol): return 0.0 rtype = float
[docs]class Dummy3(Dummy2): @classmethod def preset(cls): yield cls()
[docs]class Dummy4(Dummy3): @classmethod def preset(cls): yield cls() yield cls()