Skip to content

Commit

Permalink
new_type
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaveus committed Oct 30, 2024
1 parent 230e544 commit f925bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/json_to_predreq.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def decode(request):
task=request.model.task.lower(),
featurizer=featurizers,
)
if request.model["selectedFeatures"] != []:
dataset.select_features(SelectionList=request.model["selectedFeatures"])
if len(request.model.selected_features) > 0:
dataset.select_features(SelectionList=request.model.selected_features)
return dataset, jaqpot_row_ids

0 comments on commit f925bac

Please sign in to comment.