Skip to content

Commit

Permalink
Remove negation of condtional
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjm committed Mar 30, 2023
1 parent 55b6f7b commit f7d3c96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def screenAndTrainEstimator(Xreduced, yreduced, estimator, support, params, incl
@ In, addOnKeys, list, optional, list of additional keys to remove
@ Out, None
"""
assert not issubclass(estimator.__class__, SupervisedLearning.SupervisedLearning), \
assert issubclass(estimator.__class__, SupervisedLearning.SupervisedLearning), \
f"estimator class str(estimator.__class__) is not a SupervisedLearning derived class"
vals = screenInputParams(support, params, includedParams, addOnKeys = addOnKeys)
if vals:
Expand Down

0 comments on commit f7d3c96

Please sign in to comment.