Skip to content

Commit

Permalink
Avoid hard-coding success string
Browse files Browse the repository at this point in the history
  • Loading branch information
linsword13 committed Nov 15, 2024
1 parent 6113835 commit e0f09f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ramble/ramble/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,7 @@ def is_numeric(value):
}
summary_foms.append(n_total_dict)

n_success = exp_status_list.count("SUCCESS")
n_success = exp_status_list.count(experiment_status.SUCCESS.name)
n_success_dict = {
"value": n_success,
"units": "repeats",
Expand Down

0 comments on commit e0f09f1

Please sign in to comment.