Skip to content

Commit

Permalink
Skip stat calc when no aggregatable FOMs
Browse files Browse the repository at this point in the history
This is an edge case, but can happen when use `n_repeats` on apps that
don't have numeric FOMs. Without this change, `workspace analyze` will
fail with out-of-bound index.
  • Loading branch information
linsword13 committed Oct 1, 2024
1 parent 3200838 commit 4568d9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ramble/ramble/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1903,6 +1903,9 @@ def is_numeric(value):

# Iterate through the aggregated foms, calculate stats, and insert into results
for context, fom_dict in repeat_foms.items():
if not fom_dict:
continue

context_map = {
"name": context,
"foms": [],
Expand Down

0 comments on commit 4568d9b

Please sign in to comment.