Skip to content

Commit

Permalink
Merge pull request #484 from douglasjacobsen/fix_repeat_upload
Browse files Browse the repository at this point in the history
Add keywords as top level attributes to base repeat experiments
  • Loading branch information
dapomeroy authored May 10, 2024
2 parents 9700ff2 + 07e608c commit 1e8f408
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/ramble/ramble/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1640,6 +1640,12 @@ def is_numeric(value):
if repeat_success or workspace.always_print_foms:
logger.debug(f'Calculating statistics for {self.repeats.n_repeats} repeats of '
f'{base_exp_name}')

# Add defined keywords as top level keys
for key in self.keywords.keys:
if self.keywords.is_key_level(key):
self.results[key] = self.expander.expand_var_name(key)

self.results['RAMBLE_VARIABLES'] = {}
self.results['RAMBLE_RAW_VARIABLES'] = {}
for var, val in self.variables.items():
Expand Down

0 comments on commit 1e8f408

Please sign in to comment.