Skip to content

Commit

Permalink
Merge pull request #736 from duncanmmacleod/scipy-1.1.0
Browse files Browse the repository at this point in the history
Fixed import of scipy windows module for 1.1.0rc1
  • Loading branch information
Duncan Macleod committed Apr 19, 2018
2 parents 41aa124 + d4c02de commit 28aa544
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gwpy/signal/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@

from math import ceil

from scipy.signal import windows as scipy_windows
try: # scipy 1.1.0rc1
from scipy.signal.windows import windows as scipy_windows
except ImportError: # scipy <= 1.0.x
from scipy.signal import windows as scipy_windows

from scipy.special import expit

Expand Down

0 comments on commit 28aa544

Please sign in to comment.