Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ant0nsc committed Jul 15, 2021
1 parent b381a17 commit 87dfaad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InnerEye/ML/run_ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def is_classification_model(model: Any) -> bool:
Returns True if the given object is an InnerEye classification, but not a sequence model.
"""
return (isinstance(model, ScalarModelBase)
and model.is_classification_model and
not isinstance(model, SequenceModelBase))
and model.is_classification_model
and not isinstance(model, SequenceModelBase))


class MLRunner:
Expand Down

0 comments on commit 87dfaad

Please sign in to comment.