개정판 2d5e5222
issue #000: 20190715
Change-Id: I927b42149f0c877f491841076be8e6141101e50c
DTI_PID/DTI_PID/LineDetector.py | ||
---|---|---|
215 | 215 |
from AppDocData import MessageType |
216 | 216 |
|
217 | 217 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
218 |
App.mainWnd().addMessage.emit(MessageType.Error, message) if not 'is out of bounds for axis 1' in message else ''
|
|
218 |
App.mainWnd().addMessage.emit(MessageType.Error, message) if not 'is out of bounds' in message else '' |
|
219 | 219 |
return (pt, -1) |
220 | 220 |
|
221 | 221 |
return (pt, windowSize[1]) |
내보내기 Unified diff