Skip to content

Commit

Permalink
forward kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w-feldmann committed Apr 23, 2024
1 parent d041a2f commit 0840a96
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions molpipeline/estimators/chemprop/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def __init__(
lightning_trainer: pl.Trainer | None = None,
batch_size: int = 64,
n_jobs: int = 1,
**kwargs: Any, # pylint: disable=unused-argument
**kwargs: Any,
) -> None:
"""Initialize the chemprop classifier model.
Expand Down Expand Up @@ -211,6 +211,7 @@ def __init__(
lightning_trainer=lightning_trainer,
batch_size=batch_size,
n_jobs=n_jobs,
**kwargs,
)
if not self._is_binary_classifier():
raise ValueError("ChempropClassifier should be a binary classifier.")
Expand Down Expand Up @@ -243,7 +244,7 @@ def __init__(
lightning_trainer: pl.Trainer | None = None,
batch_size: int = 64,
n_jobs: int = 1,
**kwargs: Any, # pylint: disable=unused-argument
**kwargs: Any,
) -> None:
"""Initialize the chemprop regressor model.
Expand Down Expand Up @@ -271,4 +272,5 @@ def __init__(
lightning_trainer=lightning_trainer,
batch_size=batch_size,
n_jobs=n_jobs,
**kwargs,
)

0 comments on commit 0840a96

Please sign in to comment.