Skip to content

Commit 115a0a7

Browse files
author
Ben Cipollini
committed
TST: doctest: print X => print(X)
1 parent 2659962 commit 115a0a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/devel/matlab_interface_devel.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ By subclassing **MatlabCommand** for your main class, and **MatlabInputSpec** fo
9393
>>> hello = HelloWorld()
9494
>>> hello.inputs.name = 'hello_world'
9595
>>> out = hello.run()
96-
>>> print out.outputs.matlab_output
96+
>>> print(out.outputs.matlab_output)
9797
"""
9898
input_spec = HelloWorldInputSpec
9999
output_spec = HelloWorldOutputSpec

nipype/algorithms/modelgen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def spm_hrf(RT, P=None, fMRI_T=16):
8080
hrf = gamma.pdf(u, p[0]/p[2], scale=dt/p[2]) -
8181
gamma.pdf(u, p[1]/p[3], scale=dt/p[3])/p[4]
8282
83-
>>> print spm_hrf(2)
83+
>>> print(spm_hrf(2))
8484
[ 0.00000000e+00 8.65660810e-02 3.74888236e-01 3.84923382e-01
8585
2.16117316e-01 7.68695653e-02 1.62017720e-03 -3.06078117e-02
8686
-3.73060781e-02 -3.08373716e-02 -2.05161334e-02 -1.16441637e-02

0 commit comments

Comments
 (0)