Skip to content

Commit 7052f4f

Browse files
committed
ENH: logging nipype version
1 parent 0ac38a1 commit 7052f4f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

continuous_integration/install.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,15 @@ elif [[ "$DISTRIB" == "conda" ]]; then
100100
# useful if you happen to want a specific nibabel version rather
101101
# than the latest available one.
102102
if [ -n "$NIBABEL_VERSION" ]; then
103-
pip install nibabel=="$NIBABEL_VERSION"
103+
pip install nibabel=="$NIBABEL_VERSION" --upgrade
104104
fi
105105
if [ -n "$NIPYPE_VERSION" ]; then
106-
pip install nipype=="$NIPYPE_VERSION"
106+
pip install nipype=="$NIPYPE_VERSION" --upgrade
107+
echo "nipype version ${NIPYPE_VERSION}"
108+
exit 1
107109
fi
108110
if [ -n "$NILEARN_VERSION" ]; then
109-
pip install nilearn=="$NILEARN_VERSION"
111+
pip install nilearn=="$NILEARN_VERSION" --upgrade
110112
fi
111113

112114
else

pypreprocess/configure_spm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def _find_spm_mcr_and_spm_dir(cli_spm_mcr, config_spm_mcr,
458458
'nipype version {} too old.'
459459
' No support for precompiled SPM'.format(nipype.__version__))
460460
return None
461-
461+
_logger.info("using nipype version {}".format(nipype.__version__))
462462
check_mcr = _IsValidMCR(cli_spm_dir, config_spm_dir, defaults)
463463
spm_mcr_envs = _get_exported('spm_mcr_env_template',
464464
templates_dict=defaults)

0 commit comments

Comments
 (0)