summaryrefslogtreecommitdiff
path: root/lib/dfatool.py
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-03-12 11:10:55 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-03-12 11:10:55 +0100
commit83bc676dd6247bca3bc1901401469d23f4768992 (patch)
tree9162fa0cea89c6c8c3128d3436c356e03cb09e04 /lib/dfatool.py
parentfd84e12530ff1712fc65f20abcaa97b822f73414 (diff)
remove unnecessary epilogue function set in EnergyModel
Diffstat (limited to 'lib/dfatool.py')
-rwxr-xr-xlib/dfatool.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index 41bb76c..419a214 100755
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -745,7 +745,6 @@ class EnergyModel:
self.stats = {}
np.seterr('raise')
self._parameter_names = sorted(self.traces[0]['trace'][0]['parameter'].keys())
- self._epilogue_functions = set()
self._num_args = {}
for run in self.traces:
if ignore_trace_indexes == None or int(run['id']) not in ignore_trace_indexes:
@@ -754,9 +753,6 @@ class EnergyModel:
self._load_run_elem(i, elem)
if elem['isa'] == 'transition' and not elem['name'] in self._num_args and 'args' in elem:
self._num_args[elem['name']] = len(elem['args'])
- #if elem['isa'] == 'transition' and elem['plan']['level'] == 'epilogue':
- # self._epilogue_functions.add(elem['name'])
- print(self._epilogue_functions)
self._aggregate_to_ndarray(self.by_name)
self._compute_all_param_statistics()