diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-12 15:12:22 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-12 15:12:22 -0400 |
commit | 7eb34b5312974f601d1117eeaf6393b9648be31c (patch) | |
tree | 838df63d06886bd3bbec560add8a1ac4ef4dd069 /parse/point.py | |
parent | 09bc409657606a37346d82ab1e4c44a165bd3541 (diff) |
Improved error handling in parse_ and plot_exps.py.
Diffstat (limited to 'parse/point.py')
-rw-r--r-- | parse/point.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse/point.py b/parse/point.py index f2b266a..ac47c70 100644 --- a/parse/point.py +++ b/parse/point.py | |||
@@ -8,8 +8,8 @@ from enum import Enum | |||
8 | from collections import defaultdict | 8 | from collections import defaultdict |
9 | 9 | ||
10 | Type = Enum(['Min','Max','Avg','Var']) | 10 | Type = Enum(['Min','Max','Avg','Var']) |
11 | default_typemap = {Type.Max : {Type.Max : 1, Type.Min : 1, Type.Avg : 1, Type.Var : 1}, | 11 | default_typemap = {Type.Max : {Type.Max : 1, Type.Min : 0, Type.Avg : 0, Type.Var : 0}, |
12 | Type.Min : {Type.Max : 1, Type.Min : 1, Type.Avg : 1, Type.Var : 1}, | 12 | Type.Min : {Type.Max : 0, Type.Min : 1, Type.Avg : 0, Type.Var : 0}, |
13 | Type.Avg : {Type.Max : 1, Type.Min : 1, Type.Avg : 1, Type.Var : 1}} | 13 | Type.Avg : {Type.Max : 1, Type.Min : 1, Type.Avg : 1, Type.Var : 1}} |
14 | 14 | ||
15 | def make_typemap(): | 15 | def make_typemap(): |