Skip to content

Cannot run pipeline, deprecation error #540

@mfalkiewicz

Description

@mfalkiewicz

Hello guys,
I am trying to run the fmriprep to preprocess some data, but I get the following error. I am using the 0.4.4 version installed with pip. Any ideas what might be the cause?

mfalkiewicz@medusa:~/experiments/SDT3/BIDS$ fmriprep -v
fmriprep v0.4.4

mfalkiewicz@:~/experiments/data/BIDS$ fmriprep pwd output participant --participant_label '01'
Exception occurred in traits notification handler.
Please check the log file for details.
Exception occurred in traits notification handler for object:
compress_report = auto
explicit_masking = True
flavor = precise
generate_report = True
ignore_exception = False
initial_moving_transform =
moving = T1
moving_image =
moving_mask =
num_threads = 8
orientation = RAS
out_report = report.svg
reference = T1
reference_image =
reference_mask =
settings =
template = mni_icbm152_linear
template_resolution = 1
testing = False
, trait: testing, old value: , new value: False
Traceback (most recent call last):
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 519, in _dispatch_change_event
self.dispatch( handler, *args )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 482, in dispatch
handler( *args )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/nipype/interfaces/base.py", line 448, in _deprecated_warn
raise TraitError(msg)
TraitError: Input testing in interface RobustMNINormalization is deprecated. Will be removed or raise an error as of release 0.0.7
170529-13:13:07,205 traits ERROR:
Exception occurred in traits notification handler for object:
compress_report = auto
explicit_masking = True
flavor = precise
generate_report = True
ignore_exception = False
initial_moving_transform =
moving = T1
moving_image =
moving_mask =
num_threads = 8
orientation = RAS
out_report = report.svg
reference = T1
reference_image =
reference_mask =
settings =
template = mni_icbm152_linear
template_resolution = 1
testing = False
, trait: testing, old value: , new value: False
Traceback (most recent call last):
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 519, in _dispatch_change_event
self.dispatch( handler, *args )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 482, in dispatch
handler( *args )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/nipype/interfaces/base.py", line 448, in _deprecated_warn
raise TraitError(msg)
TraitError: Input testing in interface RobustMNINormalization is deprecated. Will be removed or raise an error as of release 0.0.7
Traceback (most recent call last):
File "/home/mfalkiewicz/.local/bin/fmriprep", line 11, in
load_entry_point('fmriprep==0.4.4', 'console_scripts', 'fmriprep')()
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/fmriprep/cli/run.py", line 139, in main
create_workflow(opts)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/fmriprep/cli/run.py", line 224, in create_workflow
fmap_demean=opts.fmap_no_demean)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/fmriprep/workflows/base.py", line 61, in init_fmriprep_wf
output_grid_ref=output_grid_ref)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/fmriprep/workflows/base.py", line 121, in init_single_subject_wf
output_dir=output_dir)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/fmriprep/workflows/anatomical.py", line 84, in init_anat_preproc_wf
testing=debug,
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/niworkflows/common/report.py", line 138, in init
super(RegistrationRC, self).init(**inputs)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/niworkflows/common/report.py", line 44, in init
super(ReportCapableInterface, self).init(**inputs)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/niworkflows/anat/mni.py", line 78, in init
super(RobustMNINormalization, self).init(**inputs)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/nipype/interfaces/base.py", line 772, in init
self.inputs = self.input_spec(**inputs)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/nipype/interfaces/base.py", line 370, in init
self.set(**kwargs)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/util/deprecated.py", line 32, in wrapper
return fn(*args, **kw)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/has_traits.py", line 1552, in set
trait_change_notify=trait_change_notify, **traits)
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/has_traits.py", line 1544, in trait_set
setattr( self, name, value )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 474, in call
self.notify_listener( self, object, trait_name, old, new )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 545, in _notify_method_listener
listener )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 526, in _dispatch_change_event
handle_exception( object, trait_name, old, new )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 519, in _dispatch_change_event
self.dispatch( handler, *args )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/traits/trait_notifiers.py", line 482, in dispatch
handler( *args )
File "/home/mfalkiewicz/.local/lib/python2.7/site-packages/nipype/interfaces/base.py", line 448, in _deprecated_warn
raise TraitError(msg)
traits.trait_errors.TraitError: Input testing in interface RobustMNINormalization is deprecated. Will be removed or raise an error as of release 0.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions