Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
frederik-sandfort1 committed Aug 21, 2024
1 parent 9baf781 commit 1bc4fa1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion molpipeline/any2mol/smiles2mol.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class SmilesToMol(_StringToMolPipelineElement):
"""Transforms Smiles to RDKit Mol objects."""


def pretransform_single(self, value: str) -> OptionalMol:
"""Transform Smiles string to molecule.
Expand Down
1 change: 0 additions & 1 deletion molpipeline/mol2any/mol2bool.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
class MolToBool(MolToAnyPipelineElement):
"""Element to generate a bool array from input."""


def pretransform_single(self, value: Any) -> bool:
"""Transform a value to a bool representation.
Expand Down
7 changes: 0 additions & 7 deletions molpipeline/mol2mol/standardization.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class LargestFragmentChooser(_MolToMolPipelineElement):
"""MolToMolPipelineElement which returns the largest fragment of a molecule."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Return largest fragment of molecule.
Expand All @@ -182,7 +181,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class MetalDisconnector(_MolToMolPipelineElement):
"""MolToMolPipelineElement which removes bonds between organic compounds and metals."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Cleave bonds with metals.
Expand All @@ -206,7 +204,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class IsotopeRemover(_MolToMolPipelineElement):
"""MolToMolPipelineElement which removes isotope information of atoms in a molecule."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Remove isotope information of each atom.
Expand All @@ -231,7 +228,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class ExplicitHydrogenRemover(_MolToMolPipelineElement):
"""MolToMolPipelineElement which removes explicit hydrogen atoms from a molecule."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Remove explicit hydrogen atoms.
Expand All @@ -251,7 +247,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class StereoRemover(_MolToMolPipelineElement):
"""MolToMolPipelineElement which removes stereo-information from the molecule."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Remove stereo-information in molecule.
Expand All @@ -273,7 +268,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class SaltRemover(_MolToMolPipelineElement):
"""MolToMolPipelineElement which removes metal ions from molecule."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Remove metal ions.
Expand Down Expand Up @@ -459,7 +453,6 @@ def pretransform_single(self, value: RDKitMol) -> OptionalMol:
class Uncharger(_MolToMolPipelineElement):
"""MolToMolPipelineElement which removes charges in a molecule, if possible."""


def pretransform_single(self, value: RDKitMol) -> OptionalMol:
"""Remove charges of molecule.
Expand Down

0 comments on commit 1bc4fa1

Please sign in to comment.