aboutsummaryrefslogtreecommitdiffstats
path: root/parse/tuple_table.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-04-12 15:12:22 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2013-04-12 15:12:22 -0400
commit7eb34b5312974f601d1117eeaf6393b9648be31c (patch)
tree838df63d06886bd3bbec560add8a1ac4ef4dd069 /parse/tuple_table.py
parent09bc409657606a37346d82ab1e4c44a165bd3541 (diff)
Improved error handling in parse_ and plot_exps.py.
Diffstat (limited to 'parse/tuple_table.py')
-rw-r--r--parse/tuple_table.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/parse/tuple_table.py b/parse/tuple_table.py
index 491ea7b..47fb6b6 100644
--- a/parse/tuple_table.py
+++ b/parse/tuple_table.py
@@ -78,7 +78,7 @@ class ReducedTupleTable(TupleTable):
78 val = kv[col] 78 val = kv[col]
79 79
80 try: 80 try:
81 float(val) 81 float(str(val))
82 except: 82 except:
83 # Only vary numbers. Otherwise, just have seperate files 83 # Only vary numbers. Otherwise, just have seperate files
84 continue 84 continue
@@ -93,9 +93,6 @@ class ReducedTupleTable(TupleTable):
93 Leaf = namedtuple('Leaf', ['stat', 'variable', 'base', 93 Leaf = namedtuple('Leaf', ['stat', 'variable', 'base',
94 'summary', 'config', 'values']) 94 'summary', 'config', 'values'])
95 95
96 def next_type(path):
97 return path.pop() if path[-1] in Type else Type.Avg
98
99 def leafs(): 96 def leafs():
100 for path, node in dir_map.leafs(): 97 for path, node in dir_map.leafs():
101 # The path will be of at least size 1: the filename 98 # The path will be of at least size 1: the filename