Skip to content

Exception in Tkinter callback (ValueError: zero-size array to reduction ...) #11

@forkozi

Description

@forkozi

from email from Jaime Kum...

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1541, in call
return self.func(*args)
File "Gui.py", line 416, in tpuProcessCallback
self.sbets_df, las_to_process)
File "D:\00408518_data\NGS_TPU-master\calc_aerial_TPU.py", line 381, in main
D = merge(sbets_df.values, t, x, y, z) # D for data
File "D:\00408518_data\NGS_TPU-master\calc_aerial_TPU.py", line 59, in merge
max_dt = np.max(dt)
File "C:\Python27\lib\site-packages\numpy\core\fromnumeric.py", line 2320, in amax
out=out, **kwargs)
File "C:\Python27\lib\site-packages\numpy\core_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions