diff options
Diffstat (limited to 'run_exps.py')
-rwxr-xr-x | run_exps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_exps.py b/run_exps.py index 1d2cc2e..24f71e4 100755 --- a/run_exps.py +++ b/run_exps.py | |||
@@ -39,7 +39,7 @@ def parse_args(): | |||
39 | 39 | ||
40 | 40 | ||
41 | def convert_data(data): | 41 | def convert_data(data): |
42 | """Convert a non-python schedule file into the python format""" | 42 | '''Convert a non-python schedule file into the python format''' |
43 | regex = re.compile( | 43 | regex = re.compile( |
44 | r"(?P<PROC>^" | 44 | r"(?P<PROC>^" |
45 | r"(?P<HEADER>/proc/[\w\-]+?/)?" | 45 | r"(?P<HEADER>/proc/[\w\-]+?/)?" |
@@ -67,7 +67,7 @@ def convert_data(data): | |||
67 | return {'proc' : procs, 'spin' : spins} | 67 | return {'proc' : procs, 'spin' : spins} |
68 | 68 | ||
69 | def fix_paths(schedule, exp_dir, sched_file): | 69 | def fix_paths(schedule, exp_dir, sched_file): |
70 | """Replace relative paths of command line arguments with absolute ones.""" | 70 | '''Replace relative paths of command line arguments with absolute ones.''' |
71 | for (idx, (spin, args)) in enumerate(schedule['spin']): | 71 | for (idx, (spin, args)) in enumerate(schedule['spin']): |
72 | for arg in re.split(" +", args): | 72 | for arg in re.split(" +", args): |
73 | abspath = "%s/%s" % (exp_dir, arg) | 73 | abspath = "%s/%s" % (exp_dir, arg) |