Created
April 16, 2010 15:02
-
-
Save chrisgorgo/368520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filo@filo-dtc:~/workspace/nipype-git/examples$ ipython 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 0x1f320c8>), '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: ('maskfile', 'level1design.mask_image') | |
INFO:workflow:in: ('outlier_files', 'modelspec.outlier_files') | |
INFO:workflow:in: ('smoothed_files', 'modelspec.functional_runs') | |
INFO:workflow:PE: expanding iterables | |
INFO:workflow:PE: expanding iterables ... done | |
INFO:workflow:Running in parallel. | |
INFO:workflow:Submitting 2 jobs | |
INFO:workflow:Executing: infosourceI0 ID: 19 H:9ac68f62748a552dd2296a37856721a6 | |
INFO:workflow:Executing: infosourceI1 ID: 23 H:3918cfcfa85e326112b925934bd0d1c2 | |
INFO:workflow:[Job finished] jobname: infosourceI0 jobid: 19 | |
Subject ID: s1 | |
INFO:workflow:[Job finished] jobname: infosourceI1 jobid: 23 | |
Subject ID: s3 | |
INFO:workflow:Submitting 2 jobs | |
INFO:workflow:Executing: datasource1 ID: 7 H:155a56c953580e24a8a569acbca46b42 | |
INFO:workflow:Executing: datasource0 ID: 21 H:0fb60766e48a66f39b26e81d2d82dcc7 | |
INFO:workflow:[Job finished] jobname: datasource1 jobid: 7 | |
--------------------------------------------------------------------------- | |
AttributeError Traceback (most recent call last) | |
/home/filo/workspace/nipype-git/examples/spm_tutorial2.py in <module>() | |
419 | |
420 if __name__ == '__main__': | |
--> 421 level1.run() | |
422 l2pipeline.run() | |
423 | |
/home/filo/workspace/nipype/nipype/pipeline/engine.pyc in run(self) | |
601 self._create_flat_graph() | |
602 self._generate_expanded_graph() | |
--> 603 self._execute_with_manager() | |
604 | |
605 def _set_node_input(self, node, param, source, sourceinfo): | |
/home/filo/workspace/nipype/nipype/pipeline/engine.pyc in _execute_with_manager(self) | |
868 notrun.append(self._remove_node_deps(jobid, crashfile)) | |
869 else: | |
--> 870 self._task_finished_cb(res['result'], jobid) | |
871 else: | |
872 toappend.insert(0, (taskid, jobid)) | |
/home/filo/workspace/nipype/nipype/pipeline/engine.pyc in _task_finished_cb(self, result, jobid) | |
917 # Update job and worker queues | |
918 self.proc_pending[jobid] = False | |
--> 919 self.procs[jobid]._result = deepcopy(result) | |
920 # Update the inputs of all tasks that depend on this job's outputs | |
921 graph = self._execgraph | |
/usr/lib/python2.6/copy.pyc in deepcopy(x, memo, _nil) | |
187 raise Error( | |
188 "un(deep)copyable object of type %s" % cls) | |
--> 189 y = _reconstruct(x, rv, 1, memo) | |
190 | |
191 memo[d] = y | |
/usr/lib/python2.6/copy.pyc in _reconstruct(x, info, deep, memo) | |
336 if state: | |
337 if deep: | |
--> 338 state = deepcopy(state, memo) | |
339 if hasattr(y, '__setstate__'): | |
340 y.__setstate__(state) | |
/usr/lib/python2.6/copy.pyc in deepcopy(x, memo, _nil) | |
160 copier = _deepcopy_dispatch.get(cls) | |
161 if copier: | |
--> 162 y = copier(x, memo) | |
163 else: | |
164 try: | |
/usr/lib/python2.6/copy.pyc in _deepcopy_dict(x, memo) | |
253 memo[id(x)] = y | |
254 for key, value in x.iteritems(): | |
--> 255 y[deepcopy(key, memo)] = deepcopy(value, memo) | |
256 return y | |
257 d[dict] = _deepcopy_dict | |
/usr/lib/python2.6/copy.pyc in deepcopy(x, memo, _nil) | |
171 copier = getattr(x, "__deepcopy__", None) | |
172 if copier: | |
--> 173 y = copier(memo) | |
174 else: | |
175 reductor = dispatch_table.get(cls) | |
/home/filo/workspace/nipype/nipype/interfaces/base.pyc in __deepcopy__(self, memo) | |
957 if id_self in memo: | |
958 return memo[id_self] | |
--> 959 dup_dict = deepcopy(self.get(), memo) | |
960 # access all keys | |
961 for key in self.copyable_trait_names(): | |
/usr/lib/python2.6/copy.pyc in deepcopy(x, memo, _nil) | |
160 copier = _deepcopy_dispatch.get(cls) | |
161 if copier: | |
--> 162 y = copier(x, memo) | |
163 else: | |
164 try: | |
/usr/lib/python2.6/copy.pyc in _deepcopy_dict(x, memo) | |
253 memo[id(x)] = y | |
254 for key, value in x.iteritems(): | |
--> 255 y[deepcopy(key, memo)] = deepcopy(value, memo) | |
256 return y | |
257 d[dict] = _deepcopy_dict | |
/usr/lib/python2.6/copy.pyc in deepcopy(x, memo, _nil) | |
171 copier = getattr(x, "__deepcopy__", None) | |
172 if copier: | |
--> 173 y = copier(memo) | |
174 else: | |
175 reductor = dispatch_table.get(cls) | |
/usr/local/lib/python2.6/dist-packages/Traits-3.3.0-py2.6-linux-x86_64.egg/enthought/traits/trait_handlers.pyc in __deepcopy__(self, memo) | |
2424 return memo[ id_self ] | |
2425 | |
-> 2426 memo[ id_self ] = result = TraitListObject( self.trait, self.object(), | |
2427 self.name, [ copy.deepcopy( x, memo ) for x in self ] ) | |
2428 | |
AttributeError: 'TraitListObject' object has no attribute 'trait' | |
WARNING: Failure executing file: <spm_tutorial2.py> | |
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) | |
Type "copyright", "credits" or "license" for more information. | |
IPython 0.10 -- An enhanced Interactive Python. | |
? -> Introduction and overview of IPython's features. | |
%quickref -> Quick reference. | |
help -> Python's own help system. | |
object? -> Details about 'object'. ?object also works, ?? prints more. | |
In [1]: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment