projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e877d
)
Don't assume you know which sJPK egments will be created.
author
W. Trevor King
<wking@drexel.edu>
Wed, 8 Sep 2010 14:39:57 +0000
(10:39 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 8 Sep 2010 14:39:57 +0000
(10:39 -0400)
hooke/driver/jpk.py
patch
|
blob
|
history
diff --git
a/hooke/driver/jpk.py
b/hooke/driver/jpk.py
index bcacd85e288f8494b4fe48d285eb7a536ac459e5..2f7b9136cbe85e893e18e5b799a6cdc04cf5acbd 100644
(file)
--- a/
hooke/driver/jpk.py
+++ b/
hooke/driver/jpk.py
@@
-82,11
+82,6
@@
class JPKDriver (Driver):
raise NotImplementedError(
'JPK file version %s not supported (yet).'
% zip_info['file-format-version'])
- for name in ['approach', 'retract']:
- if len([s for s in segments if s.info['name'] == name]) == 0:
- raise ValueError(
- 'No segment for %s in %s, only %s'
- % (name, path, [s.info['name'] for s in segments]))
curve_info = self._zip_translate_params(zip_info,
segments[0].info['raw info'])
for segment in segments: