Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dilpath committed Dec 17, 2023
1 parent 6d894b5 commit 12079b2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions petab_select/candidate_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,20 +1226,19 @@ def _consider_method(self, model):
class BruteForceCandidateSpace(CandidateSpace):
"""The brute-force method class."""

def __init__(
self,
method=Method.BRUTE_FORCE,
*args,
**kwargs,
):
def __init__(self, *args, **kwargs):
# if args or kwargs:
# # FIXME remove?
# # FIXME at least support limit
# warnings.warn(
# 'Arguments were provided but will be ignored, because of the '
# 'brute force candidate space.'
# )
super().__init__(*args, **kwargs)
super().__init__(
method=Method.BRUTE_FORCE,
*args,
**kwargs,
)

def _consider_method(self, model):
return True
Expand Down

0 comments on commit 12079b2

Please sign in to comment.