mattja / nsim

Large scale simulation of ODEs or SDEs, analyze time series.
GNU General Public License v3.0
24 stars 5 forks source link

Python 3 compatibility #1

Closed fccoelho closed 8 years ago

fccoelho commented 8 years ago

I don't know if you already support python 3, but I noticed the follwing exception when trying to run one of the examples under Python3:

   import nsim
  File "/usr/local/lib/python3.5/dist-packages/nsim/__init__.py", line 5, in <module>
    from . import analyses1
  File "/usr/local/lib/python3.5/dist-packages/nsim/analyses1/__init__.py", line 12, in <module>
    from .pyeeg import (hurst, embed_seq, in_range, bin_power, pfd, hfd, hjorth,
  File "/usr/local/lib/python3.5/dist-packages/nsim/analyses1/pyeeg.py", line 161
    print "Cannot build such a matrix, because D * Tau > N"
                                                          ^
SyntaxError: Missing parentheses in call to 'print'
mattja commented 8 years ago

Thanks for letting me know. I've fixed this in 081901be1650c2a6b35ee9416310f218902a8d02 and released the new version 0.1.16.