projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ecb3a3
)
Skip some param translation in the JPK driver for channel-less segments.
author
W. Trevor King
<wking@drexel.edu>
Wed, 8 Sep 2010 19:48:22 +0000
(15:48 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 8 Sep 2010 19:48:22 +0000
(15:48 -0400)
hooke/driver/jpk.py
patch
|
blob
|
history
diff --git
a/hooke/driver/jpk.py
b/hooke/driver/jpk.py
index 4e5ab0fc983e2d28f9395d97b59eb149a99f31e3..39dea4f1f17fe93d20bfb27763e6e8661bf10a0f 100644
(file)
--- a/
hooke/driver/jpk.py
+++ b/
hooke/driver/jpk.py
@@
-199,6
+199,8
@@
class JPKDriver (Driver):
'raw info':params,
#'time':self._time_from_TODO(raw_info[]),
}
+ if len(chan_info['channels']['list']) == 0:
+ return info
force_unit = self._zip_unit(
chan_info['channel']['vDeflection']['conversion-set']['conversion']['force']['scaling'],
version)