diff --git a/examples/ds105/parallel_run.py b/examples/ds105/parallel_run.py index c92dd6898d..9375bec9ae 100644 --- a/examples/ds105/parallel_run.py +++ b/examples/ds105/parallel_run.py @@ -40,14 +40,6 @@ def getruns(): for j in range(1,13): yield i, j -ace_vs_scrambled_t/ -house_vs_scrambled_F/ house_vs_scrambled_t/ -object_bottle_0/ object_bottle_1/ -object_cat_0/ object_cat_1/ -object_chair_0/ object_chair_1/ -object_face_0/ object_face_1/ -object_house_0/ object_house_1/ - def getvals(): for con in ['house_vs_scrambled_t', diff --git a/examples/interfaces/process_ds105.py b/examples/interfaces/process_ds105.py index 028928f9bd..fa6988450f 100755 --- a/examples/interfaces/process_ds105.py +++ b/examples/interfaces/process_ds105.py @@ -20,6 +20,8 @@ management. nipype can handle vanilla SPM in MATLAB or SPM run through the MATLAB common runtime (free from MATLAB Licensing). ''' +from __future__ import print_function, division, absolute_import + import sys from copy import deepcopy from os.path import join as pjoin, abspath, splitext, isfile @@ -45,7 +47,8 @@ STUDY_DEF = dict( TR = 2.5, n_slices = N_SLICES, - time_to_space = range(1, N_SLICES, 2) + range(2, N_SLICES, 2) + time_to_space = (list(range(1, N_SLICES, 2)) + + list(range(2, N_SLICES, 2))) )