Skip to content

Instantly share code, notes, and snippets.

@chrisgorgo
Created April 16, 2010 14:57
Show Gist options
  • Save chrisgorgo/368514 to your computer and use it in GitHub Desktop.
Save chrisgorgo/368514 to your computer and use it in GitHub Desktop.
filo@filo-dtc:~/workspace/nipype-git/examples$ python spm_tutorial2.py
4.1.5
/usr/lib/pymodules/python2.6/foolscap/banana.py:2: DeprecationWarning: the sets module is deprecated
import struct, sets, time
INFO:workflow:in: ('func', 'preproc.realign.infile')
INFO:workflow:in: ('struct', 'preproc.coregister.target')
INFO:workflow:in: ('struct', 'preproc.normalize.source')
INFO:workflow:in: ('subject_id', 'analysis.modelspec.subject_id')
INFO:workflow:in: (('subject_id', <function subjectinfo at 0x334e050>), 'analysis.modelspec.subject_info')
INFO:workflow:out: ('analysis.contrastestimate.con_images', 'contrasts.@con')
INFO:workflow:out: ('analysis.contrastestimate.spmT_images', 'contrasts.@T')
INFO:workflow:out: ('realign.realignment_parameters', 'modelspec.realignment_parameters')
INFO:workflow:out: ('smooth.smoothed_files', 'modelspec.functional_runs')
INFO:workflow:out: ('art.outlier_files', 'modelspec.outlier_files')
INFO:workflow:out: ('skullstrip.maskfile', 'level1design.mask_image')
INFO:workflow:in: ('realign.realignment_parameters', 'modelspec.realignment_parameters')
INFO:workflow:in: ('smooth.smoothed_files', 'modelspec.functional_runs')
INFO:workflow:in: ('art.outlier_files', 'modelspec.outlier_files')
INFO:workflow:in: ('skullstrip.maskfile', 'level1design.mask_image')
INFO:workflow:in: ('realignment_parameters', 'modelspec.realignment_parameters')
INFO:workflow:in: ('smoothed_files', 'modelspec.functional_runs')
INFO:workflow:in: ('outlier_files', 'modelspec.outlier_files')
INFO:workflow:in: ('maskfile', 'level1design.mask_image')
INFO:workflow:PE: expanding iterables
INFO:workflow:PE: expanding iterables ... done
INFO:workflow:Running in parallel.
INFO:workflow:Submitting 2 jobs
INFO:workflow:Executing: infosourceI1 ID: 11 H:3918cfcfa85e326112b925934bd0d1c2
INFO:workflow:Executing: infosourceI0 ID: 22 H:9ac68f62748a552dd2296a37856721a6
INFO:workflow:[Job finished] jobname: infosourceI1 jobid: 11
Subject ID: s3
INFO:workflow:[Job finished] jobname: infosourceI0 jobid: 22
Subject ID: s1
INFO:workflow:Submitting 2 jobs
INFO:workflow:Executing: datasource1 ID: 5 H:155a56c953580e24a8a569acbca46b42
INFO:workflow:Executing: datasource0 ID: 19 H:0fb60766e48a66f39b26e81d2d82dcc7
INFO:workflow:[Job finished] jobname: datasource1 jobid: 5
Traceback (most recent call last):
File "spm_tutorial2.py", line 421, in <module>
level1.run()
File "/home/filo/workspace/nipype/nipype/pipeline/engine.py", line 603, in run
self._execute_with_manager()
File "/home/filo/workspace/nipype/nipype/pipeline/engine.py", line 870, in _execute_with_manager
self._task_finished_cb(res['result'], jobid)
File "/home/filo/workspace/nipype/nipype/pipeline/engine.py", line 919, in _task_finished_cb
self.procs[jobid]._result = deepcopy(result)
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 173, in deepcopy
y = copier(memo)
File "/home/filo/workspace/nipype/nipype/interfaces/base.py", line 959, in __deepcopy__
dup_dict = deepcopy(self.get(), memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 173, in deepcopy
y = copier(memo)
File "/usr/local/lib/python2.6/dist-packages/Traits-3.3.0-py2.6-linux-x86_64.egg/enthought/traits/trait_handlers.py", line 2426, in __deepcopy__
memo[ id_self ] = result = TraitListObject( self.trait, self.object(),
AttributeError: 'TraitListObject' object has no attribute 'trait'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment