Skip to content

Commit 873f955

Browse files
committed
ignore missing callbacks
1 parent bb2f2b0 commit 873f955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

molpipeline/estimators/chemprop/lightning_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_enable_progress_bar(trainer: pl.Trainer) -> bool:
2727
If the progress bar is enabled in the lightning trainer.
2828
2929
"""
30-
return any(isinstance(callback, ProgressBar) for callback in trainer.callbacks)
30+
return any(isinstance(callback, ProgressBar) for callback in trainer.callbacks) # type: ignore
3131

3232

3333
def get_device(trainer: pl.Trainer) -> str | Accelerator:

0 commit comments

Comments
 (0)