Skip to content

BF: fix a couple of examples #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions examples/ds105/parallel_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion examples/interfaces/process_ds105.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)))
)


Expand Down