Skip to content

Commit

Permalink
Forgot to remove a defunct sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
guydav committed Nov 29, 2022
1 parent 6f7d5ab commit 6a2a9b6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,7 @@ def run_containment_support_linear_decoding_single_model_multiple_features(
random_seed: int = DEFAULT_RANDOM_SEED, ):

if by_target_object is None and by_reference_object is None and test_proportion is None:
raise ValueError('test_reference_object, test_target_object, and test_proportion cannot all be None')

if int(by_target_object) + int(by_reference_object) + int(test_proportion is not None) > 1:
raise ValueError('Only one of test_reference_object, test_target_object, and test_proportion can be specified')
raise ValueError('test_reference_object, test_target_object, and test_proportion cannot all be None')

model_results = []

Expand Down

0 comments on commit 6a2a9b6

Please sign in to comment.