Skip to content

Commit

Permalink
mypy ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w-feldmann committed Jul 3, 2024
1 parent f4ff3d6 commit 4f4f4f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions molpipeline/mol2any/mol2chemprop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4f4f4f0

Please sign in to comment.