Skip to content

Commit ac40cba

Browse files
author
Mckinsey
committed
Add comments to helper
1 parent 28f87a9 commit ac40cba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/benchpark/experiment.py

+5
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,14 @@ def get_spack_variants(self):
5353
return None
5454

5555
def set_environment_variable(self, name, value):
56+
"""Set value of environment variable"""
5657
self.env_vars["set"][name] = value
5758

5859
def append_environment_variable(self, name, value, target="paths"):
60+
"""Append to existing environment variable PATH ('paths') or other variable ('vars')
61+
Matches expected ramble format. Example:
62+
https://ramble.readthedocs.io/en/latest/workspace_config.html#environment-variable-control
63+
"""
5964
self.env_vars["append"][0][target][name] = value
6065

6166
def compute_config_variables(self):

0 commit comments

Comments
 (0)