Skip to content

[DO NOT MERGE] TEST: nipype rel/1.7.0 #174

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

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ generate_docker() {
--miniconda \
conda_install="python=3.7 pytest jupyter jupyterlab jupyter_contrib_nbextensions
traits pandas matplotlib scikit-learn scikit-image seaborn nbformat nb_conda" \
pip_install="https://github.com/nipy/nipype/tarball/master
https://github.com/INCF/pybids/tarball/0.7.1
pip_install="git+https://github.com/nipy/nipype.git@rel/1.7.0
pybids==0.13.1
nilearn datalad[full] nipy duecredit nbval niflow-nipype1-workflows" \
create_env="neuro" \
activate=True \
Expand Down Expand Up @@ -56,8 +56,8 @@ generate_singularity() {
--miniconda \
conda_install="python=3.7 pytest jupyter jupyterlab jupyter_contrib_nbextensions
traits pandas matplotlib scikit-learn scikit-image seaborn nbformat nb_conda" \
pip_install="https://github.com/nipy/nipype/tarball/master
https://github.com/INCF/pybids/tarball/0.7.1
pip_install="git+https://github.com/nipy/nipype.git@rel/1.7.0
pybids==0.13.1
nilearn datalad[full] nipy duecredit nbval niflow-nipype1-workflows" \
create_env="neuro" \
activate=True \
Expand Down
4 changes: 2 additions & 2 deletions notebooks/basic_data_input_bids.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"metadata": {},
"outputs": [],
"source": [
"layout.get(subject='01', suffix='bold', extensions=['nii', 'nii.gz'])"
"layout.get(subject='01', suffix='bold', extension=['.nii', '.nii.gz'])"
]
},
{
Expand All @@ -156,7 +156,7 @@
"metadata": {},
"outputs": [],
"source": [
"layout.get(subject='01', suffix='bold', extensions=['nii', 'nii.gz'], return_type='file')"
"layout.get(subject='01', suffix='bold', extension=['.nii', '.nii.gz'], return_type='file')"
]
},
{
Expand Down
12 changes: 8 additions & 4 deletions notebooks/basic_function_interface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@
"# Run node\n",
"try:\n",
" rndArray.run()\n",
"except(NameError) as err:\n",
" print(\"NameError:\", err)\n",
"except Exception as err:\n",
" print(err)\n",
"else:\n",
" raise"
]
Expand All @@ -259,8 +259,12 @@
"source": [
"As you can see, if we don't import `random` inside the scope of the function, we receive the following error:\n",
"\n",
" NameError: global name 'random' is not defined\n",
" Interface Function failed to run. "
" Exception raised while executing Node rndArray_node.\n",
"\n",
" Traceback (most recent call last):\n",
" [...]\n",
" File \"<string>\", line 3, in get_random_array\n",
" NameError: name 'random' is not defined"
]
}
],
Expand Down