Skip to content

Commit

Permalink
Fixed error in challenge string manipulation - v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ESapenaVentura committed Jul 14, 2023
1 parent fb9985e commit b705b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lrgasp_metrics/JSON_templates/write_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def metric_to_filename(metric):
return metric

def main(experiment_path, rdata_path, output_path, challenge):
match = challenge.split("_")[-1].upper()
match = challenge.split("_")[0].upper()
# Set the values to pass to write_assessment_dataset contained in experiment metadata
experiment = json.load(open(experiment_path, 'r'))
community = "OEBC010"
Expand Down

0 comments on commit b705b5e

Please sign in to comment.