Skip to content
Browse files

Fix typos in last commit.

Reported by ravelab

Signed-off-by: Russ Dill <Russ.Dill@asu.edu>
  • Loading branch information...
1 parent 4247d4c commit d0dcb4072ffcdc70df412f594fae49b2e103a7e4 @russdill committed Dec 19, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 pybis.py
View
10 pybis.py
@@ -1300,15 +1300,15 @@ def fin(self, node):
.format(model_type, submodel_name, mode))
if "Model Spec" in node.children:
- for level in [ "low", "high" ]
- if "D_overshoot_" + level in node.childern.model_spec:
- if "S_overshoot_" + level not in node.childern.model_spec:
+ for level in [ "low", "high" ]:
+ if "D_overshoot_" + level in node.children.model_spec:
+ if "S_overshoot_" + level not in node.children.model_spec:
raise Exception("D_overshoot_{} requires S_overshoot_{}"
.format(level, level))
- if "D_overshoot_time" not in node.childern.model_spec:
+ if "D_overshoot_time" not in node.children.model_spec:
raise Exception("D_overshoot_{} requires D_overshoot_time"
.format(level))
- if "D_overshoot_area_" + level[0] in node.childern:
+ if "D_overshoot_area_" + level[0] in node.children:
if "D_overshoot_ampl_" + level[0] not in node.chidren:
raise Exception("D_overshoot_area_{} requires D_overshoot_ampl_{}"
.format(level[0], level[0]))

0 comments on commit d0dcb40

Please sign in to comment.
Something went wrong with that request. Please try again.