Skip to content

Commit

Permalink
Add summary_curve parameter to ROC YAML #506
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaBurek committed Nov 17, 2023
1 parent 31c7cc7 commit ec8d384
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions java/edu/ucar/metviewer/jobManager/RocJobManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ protected void run(MVPlotJob job) throws ParseException, ValidationException, IO
yamlInfo.put("roc_ctc", job.getRocCtc());
yamlInfo.put("add_point_thresholds", job.getAddPointThresholds() ? "True" : "False");
yamlInfo.put("reverse_connection_order", job.getReverseConnectionOrder() ? "True" : "False");
if(job.getSummaryCurve().isEmpty()){
yamlInfo.put("summary_curve", "none");
}else {
yamlInfo.put("summary_curve", job.getSummaryCurve().get(0));
}
job.setPlotTmpl(this.getPythonScript());
yamlInfo = this.addPlotConfigs(yamlInfo, job, intNumDepSeries);
rscriptStatManager.runPythonScript(job, yamlInfo);
Expand Down

0 comments on commit ec8d384

Please sign in to comment.