Skip to content

Commit ba09d73

Browse files
committed
Merge pull request #375 from matthew-brett/fix-ds105-example
MRG: working on ds105 nipy example Tiny changes to ds105 example to make it easier to run (on Python 3)
2 parents 281cfe1 + 1829d6d commit ba09d73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/ds105/ds105_example.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from nipy.algorithms.statistics.api import (OLSModel, ARModel, make_recarray,
3535
isestimable)
3636
from nipy.modalities.fmri.fmristat import hrf as delay
37-
from nipy.modalities.fmri import design, hrf
37+
from nipy.modalities.fmri import design
3838
from nipy.io.api import load_image, save_image
3939
from nipy.core import api
4040
from nipy.core.api import Image
@@ -44,7 +44,9 @@
4444

4545
# Local
4646
import ds105_util as futil
47-
reload(futil) # while developing interactively
47+
# While developing interactively:
48+
from imp import reload
49+
reload(futil)
4850

4951
#-----------------------------------------------------------------------------
5052
# Globals

0 commit comments

Comments
 (0)