Skip to content
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

ds003346-mriqc: "The 'in_file' trait of a _ReadSidecarJSONInputSpec instance must be a path like object or string representing an existing file" #75

Open
jbwexler opened this issue Jul 19, 2023 · 0 comments
Labels
mriqc Affects MRIQC

Comments

@jbwexler
Copy link
Collaborator

For most subjects:

Traceback (most recent call last):
File "/opt/conda/bin/mriqc", line 8, in
sys.exit(main())
File "/opt/conda/lib/python3.9/site-packages/mriqc/cli/run.py", line 168, in main
mriqc_wf.run(**_plugin)
File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/workflows.py", line 628, in run
execgraph = generate_expanded_graph(deepcopy(flatgraph))
File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/utils.py", line 1188, in generate_e
xpanded_graph
return _remove_nonjoin_identity_nodes(graph_in)
File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/utils.py", line 847, in _remove_non
join_identity_nodes
_remove_identity_node(graph, node)
File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/utils.py", line 875, in _remove_ide
ntity_node
_propagate_root_output(graph, node, field, connections)
File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/utils.py", line 914, in propagate
root_output
destnode.set_input(inport, value)
File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/nodes.py", line 312, in set_input
setattr(self.inputs, parameter, deepcopy(val))
File "/opt/conda/lib/python3.9/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in
validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File "/opt/conda/lib/python3.9/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in
validate
self.error(objekt, name, str(value))
File "/opt/conda/lib/python3.9/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'in_file' trait of a ReadSidecarJSONInputSpec instance must be a pat
hlike object or string representing an existing file, but a value of '/scratch1/03201/jbwexler/openneuro

derivatives/derivatives/mriqc/ds003346-mriqc/sourcedata/raw/sub-011/dwi/sub-011_dwi.nii.gz' <class 'str'>
was specified.

@jbwexler jbwexler added the mriqc Affects MRIQC label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mriqc Affects MRIQC
Projects
None yet
Development

No branches or pull requests

1 participant