diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-09-27 11:50:31 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-09-27 11:50:31 -0400 |
commit | 5554e053e9f3d5f7987d3f1d889802b211af8eab (patch) | |
tree | 1353f456be38d88ca9d5165388215edcdfd591f7 /experiment/executable/executable.py | |
parent | 1cb07c18107395d022cf6e5fc28483156d1abd93 (diff) |
Added support for interrupted / failed experiments, and included a status summary at the end of run_exps.py
Diffstat (limited to 'experiment/executable/executable.py')
-rw-r--r-- | experiment/executable/executable.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/experiment/executable/executable.py b/experiment/executable/executable.py index 6697a8d..897c2d9 100644 --- a/experiment/executable/executable.py +++ b/experiment/executable/executable.py | |||
@@ -43,6 +43,9 @@ class Executable(object): | |||
43 | full_command += self.extra_args | 43 | full_command += self.extra_args |
44 | return full_command | 44 | return full_command |
45 | 45 | ||
46 | def __str__(self): | ||
47 | return " ".join(self.__get_full_command()) | ||
48 | |||
46 | def execute(self): | 49 | def execute(self): |
47 | """Execute the binary.""" | 50 | """Execute the binary.""" |
48 | full_command = self.__get_full_command() | 51 | full_command = self.__get_full_command() |