def write(self, molecule):
        if not self.filename:
            raise IOError, "Outputfile instance is closed."
        if self.format in ('inchi', 'inchikey', 'mol2'):
            self._writer.write(molecule.write(self.format) +'\n')
        else:
            self._writer.write(molecule.Mol)
        self.total += 1
Solve a Risch Differential Equation: Dy + f*y == g.
dataset/ETHPy150Open oddt/oddt/oddt/toolkits/rdk.py/Outputfile.write--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/integrals/rde.py/rischDE