Skip to content

Commit

Permalink
Fix Python syntax error in api_server roc_curve.py
Browse files Browse the repository at this point in the history
Discovered in kubeflow#1721

$ __python2 -c "'a' is not in 'abc'"__  # --> SyntaxError: invalid syntax

Your reviews please @Ark-kun @ajchili 

/assign @neuromage
  • Loading branch information
cclauss authored Aug 17, 2019
1 parent 0369a4c commit e81be53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/apiserver/visualization/roc_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# trueclass
# true_score_column

if "is_generated" is not in variables or variables["is_generated"] is False:
if variables.get("is_generated", False) is False:
# Create data from specified csv file(s).
# The schema file provides column names for the csv file that will be used
# to generate the roc curve.
Expand Down

0 comments on commit e81be53

Please sign in to comment.