Skip to content

Commit e648c30

Browse files
committed
Merge remote-tracking branch 'upstream/master' into update_eddy
2 parents dcee373 + 56a0335 commit e648c30

File tree

19 files changed

+561
-362
lines changed

19 files changed

+561
-362
lines changed

.mailmap

Lines changed: 167 additions & 194 deletions
Large diffs are not rendered by default.

.zenodo.json

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
{
22
"creators": [
3-
{
4-
"affiliation": "Department of Psychology, Stanford University",
5-
"name": "Gorgolewski, Krzysztof J.",
6-
"orcid": "0000-0003-3321-7583"
7-
},
83
{
94
"affiliation": "Department of Psychology, Stanford University",
105
"name": "Esteban, Oscar",
@@ -150,15 +145,20 @@
150145
"affiliation": "Concordia University",
151146
"name": "Benderoff, Erin"
152147
},
148+
{
149+
"affiliation": "Dartmouth College: Hanover, NH, United States",
150+
"name": "Halchenko, Yaroslav O.",
151+
"orcid": "0000-0003-3456-2493"
152+
},
153153
{
154154
"affiliation": "Institute for Biomedical Engineering, ETH and University of Zurich",
155155
"name": "Christian, Horea",
156156
"orcid": "0000-0001-7037-2449"
157157
},
158158
{
159-
"affiliation": "Dartmouth College: Hanover, NH, United States",
160-
"name": "Halchenko, Yaroslav O.",
161-
"orcid": "0000-0003-3456-2493"
159+
"affiliation": "The Centre for Addiction and Mental Health",
160+
"name": "Joseph, Michael",
161+
"orcid": "0000-0002-0068-230X"
162162
},
163163
{
164164
"affiliation": "UC San Diego",
@@ -202,11 +202,6 @@
202202
"name": "Varoquaux, Gael",
203203
"orcid": "0000-0003-1076-5122"
204204
},
205-
{
206-
"affiliation": "The Centre for Addiction and Mental Health",
207-
"name": "Joseph, Michael",
208-
"orcid": "0000-0002-0068-230X"
209-
},
210205
{
211206
"affiliation": "Athena EPI, Inria Sophia-Antipolis",
212207
"name": "Wassermann, Demian",
@@ -250,14 +245,14 @@
250245
"affiliation": "Nathan s Kline institute for psychiatric research",
251246
"name": "Sikka, Sharad"
252247
},
248+
{
249+
"name": "Forbes, Jessica"
250+
},
253251
{
254252
"affiliation": "University College London",
255253
"name": "Mancini, Matteo",
256254
"orcid": "0000-0001-7194-4568"
257255
},
258-
{
259-
"name": "Forbes, Jessica"
260-
},
261256
{
262257
"affiliation": "Duke University",
263258
"name": "Iqbal, Shariq",
@@ -295,10 +290,6 @@
295290
{
296291
"name": "Kent, James"
297292
},
298-
{
299-
"name": "Heinsfeld, Anibal S\u00f3lon",
300-
"orcid": "0000-0002-2050-0614"
301-
},
302293
{
303294
"name": "Watanabe, Aimi"
304295
},
@@ -325,6 +316,10 @@
325316
"name": "Eshaghi, Arman",
326317
"orcid": "0000-0002-6652-3512"
327318
},
319+
{
320+
"name": "Heinsfeld, Anibal S\u00f3lon",
321+
"orcid": "0000-0002-2050-0614"
322+
},
328323
{
329324
"name": "Ginsburg, Daniel"
330325
},
@@ -352,14 +347,14 @@
352347
"affiliation": "UniversityHospital Heidelberg, Germany",
353348
"name": "Kleesiek, Jens"
354349
},
355-
{
356-
"name": "Erickson, Drew"
357-
},
358350
{
359351
"affiliation": "NIMH IRP",
360352
"name": "Lee, John A.",
361353
"orcid": "0000-0001-5884-4247"
362354
},
355+
{
356+
"name": "Erickson, Drew"
357+
},
363358
{
364359
"affiliation": "Child Mind Institute",
365360
"name": "Giavasis, Steven"
@@ -378,6 +373,9 @@
378373
{
379374
"name": "K\u00fcttner, Ren\u00e9"
380375
},
376+
{
377+
"name": "Perez-Guevara, Martin"
378+
},
381379
{
382380
"name": "Millman, Jarrod"
383381
},
@@ -412,6 +410,11 @@
412410
"name": "Stadler, J\u00f6rg",
413411
"orcid": "0000-0003-4313-129X"
414412
},
413+
{
414+
"affiliation": "Korea Advanced Institute of Science and Technology",
415+
"name": "Kim, Sin",
416+
"orcid": "0000-0003-4652-3758"
417+
},
415418
{
416419
"affiliation": "University College London",
417420
"name": "P\u00e9rez-Garc\u00eda, Fernando",
@@ -524,6 +527,11 @@
524527
{
525528
"name": "Matsubara, K"
526529
},
530+
{
531+
"affiliation": "University of Pennsylvania",
532+
"name": "Junhao WEN",
533+
"orcid": "0000-0003-2077-3070"
534+
},
527535
{
528536
"name": "Cheung, Brian"
529537
},
@@ -679,9 +687,6 @@
679687
"name": "Pellman, John",
680688
"orcid": "0000-0001-6810-4461"
681689
},
682-
{
683-
"name": "Perez-Guevara, Martin"
684-
},
685690
{
686691
"name": "Khanuja, Ranjeet"
687692
},
@@ -701,6 +706,11 @@
701706
{
702707
"name": "Lai, Jeff"
703708
},
709+
{
710+
"affiliation": "Department of Psychology, Stanford University",
711+
"name": "Gorgolewski, Krzysztof J.",
712+
"orcid": "0000-0003-3321-7583"
713+
},
704714
{
705715
"affiliation": "MIT, HMS",
706716
"name": "Ghosh, Satrajit",

doc/changelog/1.X.X-changelog

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
1.2.3 (September 23, 2019)
2+
==========================
3+
4+
Python 1.2.3 will be the last version to support Python 3.4.
5+
6+
##### [Full changelog](https://github.com/nipy/nipype/milestone/35?closed=1)
7+
8+
* FIX: Patch Path.mkdir for Python 2 (https://github.com/nipy/nipype/pull/3037)
9+
* FIX: Drop deprecated message argument to ``FileNotFoundError`` (https://github.com/nipy/nipype/pull/3035)
10+
* FIX: Handle NIFTI extensions in ``afni.Qwarp`` (https://github.com/nipy/nipype/pull/3028)
11+
* FIX: Disallow returning ``None`` in ``pipeline.utils.load_resultfile`` (https://github.com/nipy/nipype/pull/3023)
12+
* ENH: Allow afni.CatMatvec to accept empty string opkeys (https://github.com/nipy/nipype/pull/2943)
13+
* ENH: Add ``mrrtrix3.MRResize`` interface (https://github.com/nipy/nipype/pull/3031)
14+
* ENH: Add version check / telemetry to Nipype (https://github.com/nipy/nipype/pull/3027)
15+
* ENH: Update MCFLIRT outputs for FSL 6+ (https://github.com/nipy/nipype/pull/3029)
16+
* ENH: Lightweight node cache checking (https://github.com/nipy/nipype/pull/3026)
17+
* ENH: Avoid loading result from file when writing reports (https://github.com/nipy/nipype/pull/3024)
18+
* ENH: replace portalocker with filelock (https://github.com/nipy/nipype/pull/3025)
19+
* MAINT: Set minimum yapf for `checkspecs` to 0.27 (https://github.com/nipy/nipype/pull/3033)
20+
21+
122
1.2.2 (September 07, 2019)
223
==========================
324

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
# The short X.Y version.
8383
version = nipype.__version__
8484
# The full version, including alpha/beta/rc tags.
85-
release = "1.2.2"
85+
release = "1.2.3"
8686

8787
# The language for content autogenerated by Sphinx. Refer to documentation
8888
# for a list of supported languages.

doc/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Documentation
99
:Release: |version|
1010
:Date: |today|
1111

12-
Previous versions: `1.2.2 <http://nipype.readthedocs.io/en/1.2.2/>`_ `1.2.1 <http://nipype.readthedocs.io/en/1.2.1/>`_
12+
Previous versions: `1.2.3 <http://nipype.readthedocs.io/en/1.2.3/>`_ `1.2.2 <http://nipype.readthedocs.io/en/1.2.2/>`_
1313

1414

1515
.. container:: doc2

docker/generate_dockerfiles.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ function generate_base_dockerfile() {
6868
--spm12 version=r7219 \
6969
--env 'LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH' \
7070
--freesurfer version=6.0.0-min \
71+
--dcm2niix version=v1.0.20190902 method=source \
7172
--run 'echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tCjUxNzIKICpDdnVtdkVWM3pUZmcKRlM1Si8yYzFhZ2c0RQoiID4gL29wdC9mcmVlc3VyZmVyLTYuMC4wLW1pbi9saWNlbnNlLnR4dA==" | base64 -d | sh' \
7273
--install afni ants apt-utils bzip2 convert3d file fsl-core \
7374
fsl-mni152-templates fusefat g++ git graphviz make python ruby \
74-
unzip xvfb \
75+
unzip xvfb git-annex-standalone liblzma-dev \
7576
--add-to-entrypoint "source /etc/fsl/fsl.sh && source /etc/afni/afni.sh" \
7677
--env ANTSPATH='/usr/lib/ants' \
7778
PATH='/usr/lib/ants:$PATH' \

nipype/info.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# nipype version information
1111
# Remove -dev for release
12-
__version__ = '1.2.3-dev'
12+
__version__ = '1.3.0-dev'
1313

1414

1515
def get_nipype_gitversion():
@@ -182,6 +182,7 @@ def get_nipype_gitversion():
182182
]
183183

184184
EXTRA_REQUIRES = {
185+
'data': ['datalad'],
185186
'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],
186187
'duecredit': ['duecredit'],
187188
'nipy': ['nitime', 'nilearn<0.5.0', 'dipy', 'nipy', 'matplotlib'],

nipype/interfaces/afni/model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,10 @@ class RemlfitInputSpec(AFNICommandInputSpec):
541541
desc='turns on more progress messages, including memory usage '
542542
'progress reports at various stages',
543543
argstr='-verb')
544+
goforit = traits.Bool(
545+
desc='With potential issues flagged in the design matrix, an attempt '
546+
'will nevertheless be made to fit the model',
547+
argstr='-GOFORIT')
544548
ovar = File(
545549
desc='dataset for OLSQ st.dev. parameter (kind of boring)',
546550
argstr='-Ovar %s')

nipype/interfaces/afni/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,9 @@ class CatMatvec(AFNICommand):
619619

620620
def _format_arg(self, name, spec, value):
621621
if name == 'in_file':
622-
return spec.argstr % (' '.join([i[0] + ' -' + i[1]
623-
for i in value]))
622+
# Concatenate a series of filenames, with optional opkeys
623+
return ' '.join('%s -%s' % (mfile, opkey) if opkey else mfile
624+
for mfile, opkey in value)
624625
return super(CatMatvec, self)._format_arg(name, spec, value)
625626

626627

nipype/interfaces/base/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,9 @@ def aggregate_outputs(self, runtime=None, needed_outputs=None):
476476
setattr(outputs, key, val)
477477
except TraitError as error:
478478
if 'an existing' in getattr(error, 'info', 'default'):
479-
msg = "No such file or directory for output '%s' of a %s interface" % \
480-
(key, self.__class__.__name__)
481-
raise FileNotFoundError(val, message=msg)
479+
msg = "No such file or directory '%s' for output '%s' of a %s interface" % \
480+
(val, key, self.__class__.__name__)
481+
raise FileNotFoundError(msg)
482482
raise error
483483
return outputs
484484

0 commit comments

Comments
 (0)