From 27ccd099fb4b9d982c4183145f434befc362bf4c Mon Sep 17 00:00:00 2001 From: seogi_macbook Date: Tue, 24 Jul 2018 09:30:42 -0500 Subject: [PATCH] fix Update parameter in TDEM loop app --- em_examples/TDEMHorizontalLoopCylWidget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/em_examples/TDEMHorizontalLoopCylWidget.py b/em_examples/TDEMHorizontalLoopCylWidget.py index 0eb74b4..8fb23a2 100644 --- a/em_examples/TDEMHorizontalLoopCylWidget.py +++ b/em_examples/TDEMHorizontalLoopCylWidget.py @@ -412,7 +412,7 @@ def foo( self.srcLoc = np.array([0., 0., z]) self.rxLoc = np.array([[rxOffset, 0., z]]) self.radius = radius - if Update: + if Update == "True": dpred = self.simulate( self.srcLoc, self.rxLoc, self.time, self.radius ) @@ -598,7 +598,7 @@ def foo( self.srcLoc = np.array([0., 0., z]) self.rxLoc = np.array([[rxOffset, 0., z]]) self.radius = radius - if Update: + if Update == "True": dpred = self.simulate( self.srcLoc, self.rxLoc, self.time, self.radius )