Open
Description
Hi,
I'm trying to run in docker the first example notebook and when running this piece of code:
%%bash
datalad get -J 4 -d /data/ds000114 \
/data/ds000114/derivatives/fmriprep/sub-*/anat/*preproc.nii.gz \
/data/ds000114/sub-*/ses-test/func/*fingerfootlips*
I'm getting
[ERROR] No installed dataset found at /data/ds000114. [dataset.py:require_dataset:580] (ValueError)
The more detailed error description says:
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
<ipython-input-1-60915a9169a6> in <module>
----> 1 get_ipython().run_cell_magic('bash', '', 'datalad get -J 4 -d /data/ds000114 \\\n /data/ds000114/derivatives/fmriprep/sub-*/anat/*preproc.nii.gz \\\n /data/ds000114/sub-*/ses-test/func/*fingerfootlips*\n')
/opt/miniconda-latest/envs/neuro/lib/python3.6/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
2360 with self.builtin_trap:
2361 args = (magic_arg_s, cell)
-> 2362 result = fn(*args, **kwargs)
2363 return result
2364
/opt/miniconda-latest/envs/neuro/lib/python3.6/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
140 else:
141 line = script
--> 142 return self.shebang(line, cell)
143
144 # write a basic docstring:
<decorator-gen-110> in shebang(self, line, cell)
/opt/miniconda-latest/envs/neuro/lib/python3.6/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
185 # but it's overkill for just that one bit of state.
186 def magic_deco(arg):
--> 187 call = lambda f, *a, **k: f(*a, **k)
188
189 if callable(arg):
/opt/miniconda-latest/envs/neuro/lib/python3.6/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
243 sys.stderr.flush()
244 if args.raise_error and p.returncode!=0:
--> 245 raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
246
247 def _run_script(self, p, cell, to_close):
CalledProcessError: Command 'b'datalad get -J 4 -d /data/ds000114 \\\n /data/ds000114/derivatives/fmriprep/sub-*/anat/*preproc.nii.gz \\\n /data/ds000114/sub-*/ses-test/func/*fingerfootlips*\n'' returned non-zero exit status 1.
What is going on and how can I fix it?
I'm sorry if this issue is opened somewhere else. I found only these two (#136, #165), but that's not my problem (yet :)).
Thanks!
Metadata
Metadata
Assignees
Labels
No labels