Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select BRF period bug. #204

Closed
jnsebgosselin opened this issue May 6, 2018 · 0 comments
Closed

Select BRF period bug. #204

jnsebgosselin opened this issue May 6, 2018 · 0 comments

Comments

@jnsebgosselin
Copy link
Owner

What steps will reproduce the problem?

  1. Click on the button to select the BRF period
  2. Click only ONE time on the graph
  3. Click on the button to select the BRF period again (to cancel it)
  4. Click on the button to select the BRF period
  5. Click on the graph to select the BRF period

Please provide any additional information below

Traceback (most recent call last):
  File "C:\Python36\lib\site-packages\matplotlib\backends\backend_qt5.py", line
289, in mousePressEvent
    guiEvent=event)
  File "C:\Python36\lib\site-packages\matplotlib\backend_bases.py", line 1917, i
n button_press_event
    self.callbacks.process(s, mouseevent)
  File "C:\Python36\lib\site-packages\matplotlib\cbook.py", line 554, in process

    proxy(*args, **kwargs)
  File "C:\Python36\lib\site-packages\matplotlib\cbook.py", line 416, in __call_
_
    return mtd(*args, **kwargs)
  File "C:\Users\jsgosselin\GWHAT\gwhat\HydroCalc2.py", line 1350, in onclick
    self.config_brf.set_datarange(self.brfperiod)
  File "C:\Users\jsgosselin\GWHAT\gwhat\brf_mod\kgs_gui.py", line 302, in set_da
tarange
    date_start = xldate_as_tuple(times[0], 0)
  File "C:\Python36\lib\site-packages\xlrd\xldate.py", line 95, in xldate_as_tup
le
    if xldate < 0.00:
TypeError: '<' not supported between instances of 'NoneType' and 'float'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant