Skip to content

Commit 360a23f

Browse files
Fixed 2d plot generation - v2.1.5
1 parent 8924db7 commit 360a23f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lrgasp_consolidation/manage_assessment_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def generate_manifest_2d_plots(challenge_name, output_dir, y_metric_name, x_metr
8585
return
8686

8787
# Load metrics
88-
metric_Y = json.load(open(os.path.join(output_dir, challenge_name, y_metric_file), 'r'))
89-
metric_X = json.load(open(os.path.join(output_dir, challenge_name, x_metric_file), 'r'))
88+
metric_Y = json.load(open(os.path.join(output_dir, sample, challenge_name, y_metric_file), 'r'))
89+
metric_X = json.load(open(os.path.join(output_dir, sample, challenge_name, x_metric_file), 'r'))
9090

9191

9292

@@ -120,7 +120,7 @@ def generate_manifest_2d_plots(challenge_name, output_dir, y_metric_name, x_metr
120120
},
121121
"type": "aggregation"
122122
}
123-
summary_dir = os.path.join(output_dir, challenge_name, f"{challenge_name}_{y_metric_name}_{x_metric_name}.json")
123+
summary_dir = os.path.join(output_dir, sample, challenge_name, f"{challenge_name}_{y_metric_name}_{x_metric_name}.json")
124124

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

0 commit comments

Comments
 (0)