Skip to content

Commit

Permalink
Fixed 2d plot generation - v2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ESapenaVentura committed Jul 15, 2023
1 parent 8924db7 commit 360a23f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lrgasp_consolidation/manage_assessment_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def generate_manifest_2d_plots(challenge_name, output_dir, y_metric_name, x_metr
return

# Load metrics
metric_Y = json.load(open(os.path.join(output_dir, challenge_name, y_metric_file), 'r'))
metric_X = json.load(open(os.path.join(output_dir, challenge_name, x_metric_file), 'r'))
metric_Y = json.load(open(os.path.join(output_dir, sample, challenge_name, y_metric_file), 'r'))
metric_X = json.load(open(os.path.join(output_dir, sample, challenge_name, x_metric_file), 'r'))



Expand Down Expand Up @@ -120,7 +120,7 @@ def generate_manifest_2d_plots(challenge_name, output_dir, y_metric_name, x_metr
},
"type": "aggregation"
}
summary_dir = os.path.join(output_dir, challenge_name, f"{challenge_name}_{y_metric_name}_{x_metric_name}.json")
summary_dir = os.path.join(output_dir, sample, challenge_name, f"{challenge_name}_{y_metric_name}_{x_metric_name}.json")

with open(summary_dir, 'w') as f:
json.dump(aggregation_file, f, sort_keys=True, indent=4, separators=(',', ': '))
Expand Down

0 comments on commit 360a23f

Please sign in to comment.