From 4f4f4f051fc4b6b574ef1b0db24f93315e12cde5 Mon Sep 17 00:00:00 2001 From: Christian Feldmann Date: Wed, 3 Jul 2024 16:32:54 +0200 Subject: [PATCH] mypy ignore --- molpipeline/mol2any/mol2chemprop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molpipeline/mol2any/mol2chemprop.py b/molpipeline/mol2any/mol2chemprop.py index ede5f222..cd1f9577 100644 --- a/molpipeline/mol2any/mol2chemprop.py +++ b/molpipeline/mol2any/mol2chemprop.py @@ -169,9 +169,9 @@ def set_params(self, **parameters: Any) -> MolToChemprop: elif component_name == "mol_featurizer": mol_featurizer_params[param_name] = param_copy.pop(key) if hasattr(self.graph_featurizer, "set_params"): - self.graph_featurizer.set_params(**graph_featurizer_params) + self.graph_featurizer.set_params(**graph_featurizer_params) # type: ignore if hasattr(self.mol_featurizer, "set_params"): - self.mol_featurizer.set_params(**mol_featurizer_params) + self.mol_featurizer.set_params(**mol_featurizer_params) # type: ignore super().set_params(**param_copy) return self