Skip to content

Commit 4fbfedf

Browse files
committed
fixed scipy out of date message
1 parent 97a997e commit 4fbfedf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pysces/PyscesModel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777

7878

7979
# Scipy version check
80-
if int(scipy.version.version.split('.')[0]) < 1 and int(scipy.version.version.split('.')[1]) < 6:
81-
print '\nINFO: Your version of SciPy (' + scipy.version.version + ') might be too old\n\tVersion 0.3.x or newer is strongly recommended\n'
80+
if int(scipy.__version__.split('.')[0]) < 1 and int(scipy.__version__.split('.')[1]) < 6:
81+
print '\nINFO: Your version of SciPy (' + scipy.version.version + ') might be too old\n\tVersion 0.6.x or newer is strongly recommended\n'
8282
else:
8383
if not __SILENT_START__:
8484
print 'You are using NumPy (%s) with SciPy (%s)' % (numpy.__version__, scipy.__version__)

0 commit comments

Comments
 (0)