Skip to content

Commit

Permalink
BF - test-failure in TestHilberAnalyzer. Closes #4.
Browse files Browse the repository at this point in the history
This is due to a bug in scipy.signal in r<6205. Made sure that no
scipy 0.8 uses scipy.signal.hilbert, but instead just the version of
hilbert that we ship in the utils.
  • Loading branch information
arokem authored and fperez committed Aug 18, 2010
1 parent 8994324 commit b010c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nitime/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ def output(self):
data = self.input.data
sampling_rate = self.input.sampling_rate
#If you have scipy with the fixed scipy.signal.hilbert (r6205 and later)
if float(scipy.__version__[:3])>=0.8:
if scipy.__version__>='0.9':
hilbert = signal.hilbert
else:
hilbert = tsu.hilbert_from_new_scipy
Expand Down

0 comments on commit b010c45

Please sign in to comment.