planetarypy / pdsview

Python PDS Image Viewer
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

ROI Bug #48

Closed percurnicus closed 7 years ago

percurnicus commented 7 years ago

When I make a ROI I get the following error:

Error making callback 'draw-up': any() takes exactly one argument (4 given)
Traceback:
  File "/home/pbvarga1/Workspace/pdsspect/venv_osx/lib/python3.5/site-packages/ginga/misc/Callback.py", line 98, in make_callback
    res = method(*cb_args, **cb_kwdargs)

  File "/home/pbvarga1/Workspace/pdsspect/venv_osx/lib/python3.5/site-packages/pdsview/pdsview.py", line 1054, in stop_ROI
    if not any(left_in_image, right_in_image, top_in_image, bot_in_image):

Simple bug I should fix today