Skip to content

get update #1

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

Merged
merged 554 commits into from
Feb 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
554 commits
Select commit Hold shift + click to select a range
ffffdc2
Update test_model.py
AnnaD15 Feb 13, 2020
ac21cb1
Update nipype/interfaces/fsl/tests/test_model.py
AnnaD15 Feb 13, 2020
e19a0a2
Update nipype/interfaces/fsl/tests/test_model.py
AnnaD15 Feb 13, 2020
e5db7d6
Update test_model.py
AnnaD15 Feb 13, 2020
4939689
DOC: Updated .zenodo.json file
aghayoor Feb 10, 2020
b103450
FIX 3164
bloyl Feb 11, 2020
551c654
MNT: Update .mailmap to improve matches
effigies Feb 12, 2020
34dcd12
DOC: Update docs to reference latest Zenodo archive
effigies Feb 12, 2020
de7a355
DOC: Update changelog
effigies Feb 14, 2020
f9a050d
MNT: Update .mailmap
effigies Feb 14, 2020
f992c94
DOC: Update Zenodo ordering
effigies Feb 14, 2020
c5ce0e2
MNT: 1.4.2
effigies Feb 14, 2020
a077fe3
MNT: 1.4.3-dev
effigies Feb 14, 2020
f77a5bd
Merge remote-tracking branch 'upstream/maint/1.4.x'
effigies Feb 14, 2020
b875f0f
ENH: Remove examples
effigies Feb 21, 2020
f560ac7
DOC: Initial README pointing to examples niflow
effigies Feb 21, 2020
193918b
CI: Remove example tests from CircleCI
effigies Feb 21, 2020
7e1a423
ENH: Import examples from niflow
effigies Feb 21, 2020
219f377
DOC: Refer to niflow instead of source distribution
effigies Feb 21, 2020
e530d44
ENH: Detect values for EulerNumber interface
mgxd Feb 21, 2020
b03db6a
fix: forgotten autotest
mgxd Feb 21, 2020
2e135f6
ENH: Make run_examples.py give helpful hints
effigies Feb 22, 2020
22cbbb8
DOC: Add links to examples/README
effigies Feb 22, 2020
d610478
Merge pull request #3172 from effigies/enh/move_examples
effigies Feb 22, 2020
3bf557a
Update CONTRIBUTING.md
effigies Feb 23, 2020
a018603
Merge pull request #3160 from nipy/djarecka-patch-1
effigies Feb 23, 2020
fa6dfbb
Merge pull request #3041 from AKSoo/docs
effigies Feb 23, 2020
2c46d9b
Merge remote-tracking branch 'upstream/master' into mrtrix3-usedefaul…
effigies Feb 23, 2020
d431f66
RF: Add new interface to correctly handle CSD
effigies Feb 23, 2020
6c0967e
make specs
effigies Feb 23, 2020
523dad9
MNT: Disable telemetry during doc build (closes gh-3175)
effigies Feb 23, 2020
7f68dda
ENH: Import ConstrainedSphericalDeconvolution into interfaces.mrtrix3
effigies Feb 24, 2020
dfcc49a
Merge branch 'master' of github.com:nipy/nipype into enh/euler-number
mgxd Feb 24, 2020
312ae3d
ENH: add testcase
mgxd Feb 24, 2020
07c840b
Merge pull request #3173 from mgxd/enh/euler-number
effigies Feb 24, 2020
9049156
Merge pull request #3176 from effigies/mrtrix3-usedefault-issue
effigies Feb 24, 2020
a67da28
RF: Prefer math.gcd to hand-rolled Euclid's algorithm
effigies Feb 24, 2020
7a19ee0
FIX: Explicitly coerce millisecond slices to int
effigies Feb 24, 2020
b75a7ce
Merge pull request #3177 from effigies/rf/gcd
effigies Feb 25, 2020
909301e
fix #3178: improve the parsing of ``Atropos``
oesteban Feb 27, 2020
8165242
enh: add a few new utilities to ANTs
oesteban Feb 27, 2020
167f6c9
enh: update ants' interfaces API
oesteban Feb 27, 2020
417b889
sty: black
oesteban Feb 27, 2020
1c5045d
enh,sty: update antsJointFusion + black et al.
oesteban Feb 27, 2020
9e7c997
fix: ``make specs``
oesteban Feb 28, 2020
dfe8501
tst: reduce some complexity and increase coverage
oesteban Feb 28, 2020
dffcb78
fix: copy header for ResampleImageBySpacing
oesteban Feb 28, 2020
c100772
FIX: check if result has an attribute outputs before accessing it
Mar 3, 2020
cf48cbd
Apply suggestions from code review
oesteban Mar 3, 2020
051c1e5
fix(compat): ensure nibabel < 3 compatiblity of tests
oesteban Mar 4, 2020
774f41d
fix: use ``aggregate_outputs`` instead of ``_list_outputs``
oesteban Mar 4, 2020
0544124
enh: remove ``aggregate_outputs`` duplications, fix InputMultiPath
oesteban Mar 4, 2020
75ce23d
Update nipype/pipeline/engine/utils.py
daniel-ge Mar 4, 2020
f88add4
fix: roll back under-i/o specs
oesteban Mar 4, 2020
6979cbd
RF: Move header copying to a mixin
effigies Mar 4, 2020
d50c185
STY: black
effigies Mar 4, 2020
545a5fe
MNT: make specs
effigies Mar 4, 2020
292e2e8
Merge pull request #10 from effigies/enh/ants-utils-overhaul
oesteban Mar 4, 2020
135d900
sty: fix unused import
oesteban Mar 5, 2020
78c792d
Re-write _check_inputs and _check_outputs to not require full inputs/…
HippocampusGirl Mar 7, 2020
7b1a2f4
First attempt of a SGE test
daniel-ge Mar 7, 2020
4e1d601
fix: consider that some outputs might not be defined
oesteban Mar 8, 2020
9c8f322
FIX: add missing argument to is_pending mock function
daniel-ge Mar 8, 2020
57ab108
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
269ac56
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
98aeca1
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
33befb1
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
ce22e36
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
ef739f0
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
27a2472
Update nipype/pipeline/plugins/tests/test_sgelike.py
daniel-ge Mar 8, 2020
02991da
FIX: get length of generator + STY: Black
daniel-ge Mar 8, 2020
69e107f
Add my name to contributors
HippocampusGirl Mar 9, 2020
771ab93
Apply suggestions from code review
HippocampusGirl Mar 9, 2020
4a6d6b8
TEST: Cleanup imports
effigies Mar 9, 2020
347311c
Merge pull request #3182 from daniel-ge/master
effigies Mar 9, 2020
f2a5c4b
Merge pull request #3180 from oesteban/enh/ants-utils-overhaul
oesteban Mar 9, 2020
0372982
Fix double connect on nested workflows
HippocampusGirl Mar 11, 2020
75b598a
Merge pull request #3184 from HippocampusGirl/workflow-connect-perfor…
effigies Mar 13, 2020
7963e31
FIX: Partial rollback of N4BiasFieldCorrection
oesteban Mar 14, 2020
cbb1ab9
NEP29+1y: Set minimum python to 3.6, numpy to 1.13
effigies Mar 14, 2020
e925c68
DOC: Update changelog
effigies Mar 14, 2020
21c5b19
MNT: Update Zenodo ordering, adding Adam Kimbler to Zenodo
effigies Mar 14, 2020
c9d59f4
MNT: Fix SyntaxError, and disable telemetry for checkspecs.py
effigies Mar 14, 2020
b872215
FIX: add usedefault metadata to trait with default
effigies Mar 14, 2020
33f3a80
TEST: make specs
effigies Mar 14, 2020
faef7d0
STY: black
effigies Mar 14, 2020
79f11d9
MNT: Add Zenodo blacklist
effigies Mar 14, 2020
c37fcfb
Merge pull request #3188 from oesteban/fix/ants-n4-undefined
oesteban Mar 14, 2020
69f35d9
Merge remote-tracking branch 'upstream/master' into rel/1.5.0
oesteban Mar 14, 2020
3c1c6fa
CI: Drop Python 3.5 tests
effigies Mar 15, 2020
ff72cd7
DOC: Update changelog
effigies Mar 15, 2020
d94a8da
REL: 1.5.0-rc1
effigies Mar 15, 2020
b17a21b
MNT: 1.5.0-rc1.post-dev
effigies Mar 15, 2020
6364521
Adding reverse_forward_transforms and reverse_forward_invert_flags to…
sulantha2006 Mar 21, 2020
fdd0955
TEST: Mock terminal output before testing changing default value
effigies Mar 23, 2020
4061b76
TEST: Remove xfail from test_dcm2niix_dti
effigies Mar 23, 2020
f8a2e53
doctest: +ELLIPSIS fix
sulantha2006 Mar 23, 2020
f6ba809
Fix test_auto_Registration.py
sulantha2006 Mar 24, 2020
199dc2e
Use PackageInfo to get NiftyReg version
fepegar Mar 24, 2020
328bd4e
Remove version decoding
fepegar Mar 24, 2020
1ca5d4e
Merge pull request #3194 from fepegar/2615-packageinfo-niftyreg
effigies Mar 24, 2020
5c69cd1
TEST: Explicitly specify dataset in datalad get call
effigies Mar 29, 2020
933f64f
TEST: Skip PBS test in absence of qsub, use tmp_path fixture
effigies Mar 24, 2020
46b505c
TEST: Skip OAR test in absence of oarsub, use tmp_path fixture
effigies Mar 24, 2020
f847fa7
Merge pull request #3193 from effigies/test/mock_terminal_output
effigies Mar 29, 2020
35f83b9
TEST: Raise SkipTest when TempFATFS fails
effigies Mar 25, 2020
5fed3fb
TEST: Require rdflib 5.0 for prov tests
effigies Mar 25, 2020
e78bda1
TEST: Purge mock for unittest.mock
effigies Mar 29, 2020
f864267
TEST: Relax version constraints when checking FSL version
effigies Mar 30, 2020
2b1957e
TEST: Validate NIPYPE_NO_ET when NIPYPE_NO_ET is set
effigies Mar 30, 2020
68a7e4f
CI: Clean up travis.yml
effigies Mar 30, 2020
e6ed8c6
RF: Use etelemetry.check_available_version
effigies Mar 30, 2020
fe15295
Merge pull request #3192 from sulantha2006/master
effigies Mar 30, 2020
6d160c3
Merge pull request #3195 from effigies/test/fixes
effigies Mar 31, 2020
47de76e
Merge branch 'rel/1.5.0'
effigies Mar 31, 2020
a70ec99
Merge pull request #3162 from jhuguetn/multichannel_seg
effigies Apr 15, 2020
e2533c2
CI: Add artifacts redirector action
effigies Apr 18, 2020
3194918
RF: Use docutils 0.5-style directive definition
effigies Apr 18, 2020
747137f
DOC: Restore sphinxext docs
effigies Apr 18, 2020
6f15e26
DOC: Drop doubled-up docs
effigies Apr 18, 2020
28ef1af
Merge pull request #3206 from effigies/doc/sphinx3
effigies Apr 18, 2020
04fc7b0
CI: Test Python 3.8
effigies Jan 15, 2020
7ebe6ec
CI: Skip some multiproc tests in Py38
effigies Mar 23, 2020
828cd92
TEST: Timeout provenance tests after 1min
effigies Apr 1, 2020
58dde80
MNT: Pin rdflib >=5
effigies Apr 1, 2020
ab4298a
TEST: Set timeouts for PBS and OAR tests
effigies Apr 18, 2020
b58d7f3
enh: add readthedocs markup for building docs
satra Apr 18, 2020
d3a965c
fix: path
satra Apr 18, 2020
c49e2fe
Merge pull request #3207 from nipy/enh/readthedocs
satra Apr 18, 2020
2794221
DOC: Install local nipype for access to sphinxexts
effigies Apr 18, 2020
7cb5ea3
DOC: Use doc extra, not docs
effigies Apr 18, 2020
a10d3da
DOC: Ignore out-of-date IPython notebook for now
effigies Apr 18, 2020
3bfd2f2
DOC: Skip PDF and EPUB builds
effigies Apr 18, 2020
e671d61
RF: use sys.executable not hardcoded "python"
yarikoptic Apr 20, 2020
02e32dc
RF: DICOMConvert - use the same (basename of) python as of the host p…
yarikoptic Apr 20, 2020
f844734
RF: Makefile - use $(PYTHON) consistently to centralize choice of Pyt…
yarikoptic Apr 20, 2020
c7efd5b
RF: py.test -> $(PYTHON) -m pytest
yarikoptic Apr 20, 2020
24375b2
Merge pull request #3208 from yarikoptic/rf-sys-python
effigies Apr 20, 2020
9a7db4d
Merge pull request #3154 from effigies/ci/py38
effigies Apr 20, 2020
5e560d9
ENH: Add ``"TruncateImageIntensity"`` operation to ``ants.utils.Image…
oesteban Apr 27, 2020
d2a48e1
Merge pull request #3210 from nipy/oesteban-patch-1
oesteban Apr 28, 2020
96f1033
volterra_expansion_order documentation error
servoz May 15, 2020
5f85656
Added VSCode configuration directory and venv/ to .gitignore.
ZviBaratz May 16, 2020
b344a58
Fixed BET's returned output path bug, resolves #2916.
ZviBaratz May 16, 2020
f95d960
fix: allow parsing freesurfer 7 version string
satra May 19, 2020
6270778
MAINT: Allow nilearn up to master
effigies Jan 2, 2019
994bef3
Merge pull request #2841 from effigies/maint/nilearn_0_5
satra May 19, 2020
f37f48f
Merge remote-tracking branch 'upstream/master' into fix/freesurfer7-v…
satra May 19, 2020
a07fa79
Merge pull request #3218 from satra/fix/freesurfer7-version
satra May 19, 2020
460f616
Merge pull request #3216 from nipy/fix/freesurfer7-version-str
effigies May 19, 2020
ad44896
FIX: report.rst terminal output
mgxd May 27, 2020
4c48a18
Merge pull request #3220 from mgxd/fix/report-output
oesteban May 27, 2020
81b9c83
RESTORE ants.legacy, removed in 4a84a0275
effigies Jun 2, 2020
124d4ef
make specs
effigies Jun 2, 2020
81e8f9e
Update module description
effigies Jun 2, 2020
1c84a70
Merge pull request #3222 from effigies/restore_ants_legacy
effigies Jun 2, 2020
7c779ab
Merge pull request #3214 from ZviBaratz/master
effigies Jun 2, 2020
ddd9b55
Merge pull request #3213 from servoz/master
effigies Jun 2, 2020
2808a2f
Update changelog
effigies Jun 3, 2020
f4c936a
Update mailmap
effigies Jun 3, 2020
fe34db6
Update Zenodo
effigies Jun 3, 2020
94f25c1
REL: 1.5.0
effigies Jun 3, 2020
72945ef
Merge pull request #3199 from nipy/rel/1.5.0
effigies Jun 3, 2020
742e739
MNT: 1.5.1-dev
effigies Jun 3, 2020
ac16f23
MNT: 1.6.0-dev
effigies Jun 3, 2020
e1ea198
Merge remote-tracking branch 'upstream/maint/1.5.x'
effigies Jun 3, 2020
dc230ef
DOC: Skip BIDSDataGrabber doctest if pybids is missing
effigies Jun 4, 2020
3029bd6
Merge pull request #3224 from effigies/doctest/optional_pybids
effigies Jun 4, 2020
5116ee2
add nipype svg brain
satra Jul 8, 2020
3587533
ENH: Add more operations to ``ants.ImageMath``
oesteban Aug 12, 2020
e59aaa6
fix: address edge cases of the copyheader mixin
oesteban Aug 12, 2020
461bc5e
doc: add explanation to doctests [skip ci]
oesteban Aug 13, 2020
f2a2034
Merge pull request #3236 from nipy/oesteban-patch-1
oesteban Aug 13, 2020
1cea230
ENH: Add more operations to ``ants.ImageMath``
oesteban Aug 12, 2020
4a7cae1
fix: address edge cases of the copyheader mixin
oesteban Aug 12, 2020
c71b8ac
doc: add explanation to doctests [skip ci]
oesteban Aug 13, 2020
05359e7
CI: Display stdout/stderr during tests
effigies Aug 15, 2020
75b405f
TEST: Parametrize multiproc test to track down error
effigies Aug 15, 2020
7400725
CI: Run two jobs in parallel
effigies Aug 15, 2020
02d1500
Merge pull request #3239 from effigies/fix/no_et_38_failure
effigies Aug 15, 2020
e89e4ac
FIX: Permit identity transforms in list of transforms to antsApplyTra…
effigies Aug 14, 2020
68bbf02
RF: Simplify inversion logic, use ValueError
effigies Aug 14, 2020
c729c1c
STY: Drop unused identity branch
effigies Aug 14, 2020
87f90dd
Merge pull request #3237 from effigies/fix/applytransforms_identity
effigies Aug 15, 2020
14a304a
TEST: Reproduce gh-3230
effigies Aug 15, 2020
6566e6e
Removed line that excluded fields parameter during export.
matteomancini Aug 3, 2020
7df2d62
Added if statement to correctly handle strings and list during export.
matteomancini Aug 3, 2020
fc8e991
RF: Simplify serialization
effigies Aug 15, 2020
d7a775b
Merge pull request #3240 from effigies/fix/export_workflow
effigies Aug 16, 2020
44497f2
ENH: no more auto-failing on misparsed versions
TheChymera Aug 7, 2020
690c620
TEST: Validate bad version parse warning when hit with min/max version
effigies Aug 14, 2020
c56a3b1
STY: Reuse comparison, rewrite warning
effigies Aug 14, 2020
bf24dba
RF: Raise ValueError if stop_on_unknown_version is set
effigies Aug 16, 2020
a09d0a9
MNT: Set version 1.5.1
effigies Aug 14, 2020
83358d7
STY: Black
effigies Aug 14, 2020
e1f5c02
DOC: Update previous versions
effigies Aug 15, 2020
c98bfbf
DOC: Update changelog
effigies Aug 16, 2020
946519c
Merge pull request #3241 from effigies/versioncheck
effigies Aug 16, 2020
a8367b0
DOC: Update Zenodo
effigies Aug 16, 2020
071523a
Merge pull request #3238 from nipy/rel/1.5.1
effigies Aug 16, 2020
1d6b91e
MNT: 1.5.2-dev
effigies Aug 16, 2020
97ce446
Merge remote-tracking branch 'upstream/maint/1.5.x'
effigies Aug 16, 2020
5d1c1e9
Removed "-" from algorithm specification
GalKepler Sep 10, 2020
42544d0
Update .zenodo.json
GalKepler Sep 10, 2020
8c4a8b0
STY: Re-run make specs; change in black
effigies Sep 17, 2020
f4f91dc
FIX: No longer depending on pydotplus (networkx >=2.0 update)
TheChymera Sep 17, 2020
929de35
Merge pull request #3251 from TheChymera/master
effigies Sep 18, 2020
3e2f458
SPM SliceTiming must accept either Int or float for ref_slice and sli…
servoz Sep 21, 2020
2096a09
FIX: Raise version error when using ``-g`` with ``antsAI`` < 2.3.0
oesteban Sep 23, 2020
0df1dff
chore(specs): update
oesteban Sep 25, 2020
9a0fda0
Merge pull request #3256 from nipy/fix/antsai-g-argument
effigies Sep 25, 2020
e9217c2
Merge pull request #3255 from servoz/master
effigies Oct 1, 2020
bfc21fd
[REF] Optimize _get_parameter_node performance
HippocampusGirl Aug 8, 2020
84c791b
Replace _get_parameter_node with get_node
HippocampusGirl Oct 19, 2020
d5a88de
Fix pass the correct argument to get_node
HippocampusGirl Oct 20, 2020
a722ca4
FIX: Bad format string
effigies Oct 21, 2020
9dc7f43
CI: Upgrade Linux distribution
effigies Oct 21, 2020
a42b40b
Merge pull request #3262 from effigies/fix/unknown
effigies Oct 21, 2020
07af08f
Merge pull request #3260 from HippocampusGirl/workflow-flatgraph-perf…
effigies Oct 22, 2020
0021bd3
Update nipype/interfaces/mrtrix3/preprocess.py
GalKepler Oct 26, 2020
524482e
Update nipype/interfaces/mrtrix3/preprocess.py
GalKepler Oct 26, 2020
613d647
Update .zenodo.json
GalKepler Oct 26, 2020
a8a4c7f
Edited file according to Chris's requests
GalKepler Oct 26, 2020
5ddcc0d
Update nipype/interfaces/mrtrix3/preprocess.py
effigies Oct 27, 2020
4f8aa4b
changed _list_outputs() method of EpiReg interface to check whether '…
oliver-contier Oct 29, 2020
1777245
updated affiliation
oliver-contier Oct 29, 2020
3976524
Merge pull request #3265 from oliver-contier/epireg_wmseg
effigies Oct 30, 2020
73e98d2
TEST: make specs
effigies Nov 8, 2020
68b3003
Merge remote-tracking branch 'upstream/master' into patch-1
effigies Nov 8, 2020
b356ad1
Merge pull request #3248 from GalBenZvi/patch-1
effigies Nov 8, 2020
bf8899d
Remove myself (@mr-c) from the zenodo metadata
mr-c Nov 20, 2020
7d538fa
Merge pull request #3271 from mr-c/patch-1
effigies Nov 20, 2020
15d25b3
FIX: Purge BaseException.message
effigies Nov 21, 2020
77913ee
FIX: Get OSError.errno by name, not index
effigies Nov 21, 2020
e897768
Update core.py
satra Nov 21, 2020
737e220
RF: Unset default traits for out-of-version inputs at init
effigies Nov 21, 2020
eef3687
TEST: Verify behavior when an input has a default and max_ver
effigies Nov 21, 2020
a29a041
TEST: Expect more warnings
effigies Nov 21, 2020
8db5b25
RF: Change raise_exception to permissive; suppress warnings and excep…
effigies Nov 22, 2020
35ea635
TEST/FIX: Bad input value now causing problems
effigies Nov 22, 2020
3ec5eeb
Merge pull request #3273 from nipy/fix-unavailable-traits
satra Nov 23, 2020
35b7927
Merge pull request #3272 from effigies/fix/errmsg
satra Nov 23, 2020
d5be8c0
FIX: Canonicalize environment in deprecated version_from_command()
effigies Nov 2, 2020
0dbcedd
FIX: Windows actually wants strings
effigies Nov 2, 2020
f054c29
Merge pull request #3267 from effigies/fix/canonicalize_env
effigies Nov 28, 2020
72da248
MNT: 1.6.0
effigies Nov 24, 2020
aef6fb2
MNT: Update Zenodo ordering
effigies Nov 24, 2020
d32e5bf
DOC: 1.6.0 changelog
effigies Nov 28, 2020
54f5029
Merge remote-tracking branch 'upstream/rel/1.6.0'
effigies Nov 28, 2020
47fe00b
ENH: Add new `dwifslpreproc` interface for MRtrix3 (#3278)
axiezai Dec 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
208 changes: 49 additions & 159 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,6 @@ _build_main_image_py36: &build_main_image_py36
--build-arg VCS_REF="$(git rev-parse --short HEAD)" \
--build-arg VERSION="${CIRCLE_TAG}" /home/circleci/nipype

_build_main_image_py27: &build_main_image_py27
name: Build main image (py27)
no_output_timeout: 60m
command: |
tools/retry_cmd.sh -n 5 -s 15 \
docker build \
--rm=false \
--tag nipype/nipype:py27 \
--build-arg PYTHON_VERSION_MAJOR=2 \
--build-arg PYTHON_VERSION_MINOR=7 \
--build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" \
--build-arg VCS_REF="$(git rev-parse --short HEAD)" \
--build-arg VERSION="${CIRCLE_TAG}-py27" /home/circleci/nipype

_download_test_data: &_download_test_data
name: Download test data
no_output_timeout: 20m
Expand Down Expand Up @@ -113,7 +99,6 @@ _run_codecov_smoke: &_run_codecov_smoke

version: 2
jobs:

compare_base_dockerfiles:
docker:
- image: docker:17.10.0-ce-git
Expand Down Expand Up @@ -161,144 +146,32 @@ jobs:
- run: *modify_nipype_version
- run: *get_base_image
- run: *build_main_image_py36
- run: *build_main_image_py27
- run: *_get_codecov
- run: *_download_test_data
- run: *prepare_working_directory
- run:
name: Run pytests (py36)
name: Run pytests
no_output_timeout: 30m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_pytest.sh
- run:
name: Run pytests (py27)
no_output_timeout: 30m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py2_pytest.sh
command: bash -ux /home/circleci/nipype/.circleci/test_pytest.sh
- run: *_run_codecov_coverage
- store_artifacts: *store_artifacts_kwds
- store_test_results: *store_artifacts_kwds
- run:
name: Build docs (py36)
no_output_timeout: 30m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_docs.sh
- store_artifacts:
path: /home/circleci/work/docs
- run:
name: Save Docker images to workspace if on master
no_output_timeout: 60m
command: |
if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
docker save nipype/nipype:base \
nipype/nipype:latest \
nipype/nipype:py27 \
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \
&& du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36.tar.gz \
&& du -h /tmp/docker/nipype-base-latest-py36.tar.gz
fi
- persist_to_workspace:
root: /tmp
paths:
- docker

test_py3_fmri_fsl_spm:
machine: *machine_kwds
working_directory: /home/circleci/nipype
steps:
- checkout:
path: /home/circleci/nipype
- attach_workspace:
at: /tmp
- run: *set_pr_number
- run: *generate_dockerfiles
- run: *modify_nipype_version
- run: *get_base_image
- run: *build_main_image_py36
- run: *_get_codecov
- run: *_download_test_data
- run: *prepare_working_directory
- run:
name: Run FSL reuse pipeline (py36)
no_output_timeout: 40m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_reuse_linear_l1.sh
- run:
name: Run SPM test workflow - 3D inputs (py36)
no_output_timeout: 40m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_3d.sh
- run:
name: Run SPM test workflow - 4D inputs (py36)
no_output_timeout: 40m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_4d.sh
- run: *_run_codecov_smoke
- store_artifacts: *store_artifacts_kwds

test_py3_fmri_spm_dartel_multiproc:
machine: *machine_kwds
working_directory: /home/circleci/nipype
steps:
- checkout:
path: /home/circleci/nipype
- attach_workspace:
at: /tmp
- run: *set_pr_number
- run: *generate_dockerfiles
- run: *modify_nipype_version
- run: *get_base_image
- run: *build_main_image_py36
- run: *_get_codecov
- run: *_download_test_data
- run: *prepare_working_directory
- run:
name: Run SPM DARTEL Level 1 pipeline (py36)
no_output_timeout: 1h
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_multiproc_l1.sh
- run:
name: Run SPM DARTEL Level 2 pipeline (py36)
no_output_timeout: 30m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh
- run: *_run_codecov_smoke
- store_artifacts: *store_artifacts_kwds

test_fmri_spm_nested_fsl_feeds:
machine: *machine_kwds
working_directory: /home/circleci/nipype
steps:
- checkout:
path: /home/circleci/nipype
- attach_workspace:
at: /tmp
- run: *set_pr_number
- run: *generate_dockerfiles
- run: *modify_nipype_version
- run: *get_base_image
- run: *build_main_image_py36
- run: *build_main_image_py27
- run: *_get_codecov
- run: *_download_test_data
- run: *prepare_working_directory
- run:
name: Run SPM Nested Level 1 pipeline (py36)
no_output_timeout: 1h
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_nested_multiproc_l1.sh
- run:
name: Run SPM Nested Level 2 pipeline (py27)
no_output_timeout: 30m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
- run:
name: Run FSL FEEDS pipeline (py36)
no_output_timeout: 40m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh
- run: *_run_codecov_smoke
- store_artifacts: *store_artifacts_kwds

deploy_dockerhub:
docker:
- image: docker:17.10.0-ce-git
Expand All @@ -310,7 +183,7 @@ jobs:
name: Load saved Docker images.
no_output_timeout: 60m
command: |
docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
docker load < /tmp/docker/nipype-base-latest-py36.tar.gz
- run:
name: Push to DockerHub
no_output_timeout: 120m
Expand All @@ -319,7 +192,6 @@ jobs:
docker push nipype/nipype:base
docker push nipype/nipype:latest
docker push nipype/nipype:py36
docker push nipype/nipype:py27
- run:
name: Move pruned Dockerfile to /tmp/docker/cache directory
command: |
Expand All @@ -343,30 +215,20 @@ jobs:
pip install --upgrade pip twine future wheel readme_renderer setuptools
python setup.py sdist bdist_wheel
twine check dist/*
- run:
name: Validate Python 2 installation
command: |
pyenv local 2.7.12
pip install --upgrade pip
pip install dist/nipype-*-py2.py3-none-any.whl
# Futures should install in Python 2
pip show futures 2>/dev/null | grep "Name: futures"
- run:
name: Validate Python 3 installation
command: |
pyenv local 3.6.5
pip install --upgrade pip
pip install dist/nipype-*-py2.py3-none-any.whl
# Futures should not install in Python 3
test $(pip show futures 2>/dev/null | wc -l) = "0"
pip install dist/nipype-*-py3-none-any.whl
- run:
name: Validate Python 3.7 installation
command: |
pyenv local 3.7.0
pip install --upgrade pip
# Pre-install a version of numpy that will not pass
pip install numpy==1.15.0
pip install dist/nipype-*-py2.py3-none-any.whl
pip install dist/nipype-*-py3-none-any.whl
# Numpy should be upgraded to >= 1.15.3
test "$(pip show numpy | grep Version)" \> "Version: 1.15.2"
- run:
Expand All @@ -390,7 +252,7 @@ jobs:
name: Deploy to PyPI
command: |
pyenv local 3.6.5
pip install --upgrade twine future wheel readme_renderer setuptools
pip install --upgrade twine wheel readme_renderer setuptools
python setup.py check -r -s
python setup.py sdist bdist_wheel
twine upload dist/*
Expand Down Expand Up @@ -427,44 +289,72 @@ jobs:
ssh-add ~/.ssh/id_ed25519
/home/circleci/nipype/tools/feedstock.sh

build_docs:
docker:
- image: python:3.7.4
working_directory: /tmp/src/nipype
environment:
- FSLOUTPUTTYPE: 'NIFTI'
steps:
- checkout
- run:
name: Check Python version and upgrade pip
command: |
python --version
python -m pip install -U pip
- run:
name: Install graphviz
command: |
apt-get update
apt-get install -y graphviz
- run:
name: Install Requirements (may contain pinned versions)
command: python -m pip install -r doc/requirements.txt
- run:
name: Install NiPype
command: python -m pip install ".[doc]"
- run:
name: Build documentation
command: make -C doc html
- store_artifacts:
path: /tmp/src/nipype/doc/_build/html

workflows:
version: 2
build_test_deploy:
jobs:
- build_docs:
filters:
tags:
only: /.*/
- pypi_precheck:
filters:
branches:
only: /rel\/.*/
only: /(rel|dev)\/.*/
tags:
only: /.*/
- compare_base_dockerfiles:
filters:
branches:
ignore:
- /docs?\/.*/
tags:
only: /.*/
- test_pytest:
filters:
branches:
ignore:
- /docs?\/.*/
tags:
only: /.*/
requires:
- compare_base_dockerfiles
- test_py3_fmri_fsl_spm:
requires:
- compare_base_dockerfiles
- test_py3_fmri_spm_dartel_multiproc:
requires:
- compare_base_dockerfiles
- test_fmri_spm_nested_fsl_feeds:
requires:
- compare_base_dockerfiles
- deploy_dockerhub:
filters:
branches:
only: master
requires:
- test_pytest
- test_fmri_spm_nested_fsl_feeds
- test_py3_fmri_fsl_spm
- test_py3_fmri_spm_dartel_multiproc
- deploy_pypi:
filters:
branches:
Expand Down
3 changes: 0 additions & 3 deletions .circleci/test_py2_fmri_spm_nested_multiproc_l2.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py2_pytest.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_docs.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_fsl_feeds_linear_l1.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_fsl_reuse_linear_l1.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_spm_dartel_multiproc_l1.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_spm_linear_3d.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_spm_linear_4d.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/test_py3_fmri_spm_nested_multiproc_l1.sh

This file was deleted.

File renamed without changes.
5 changes: 2 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ src/
.git

# other
docs/**/*
docs/
doc/**/*
doc/
.cache/
.circle/**/*
.circle/
circle.yml
rtd_requirements.txt
Vagrantfile
.travis.yml
.mailmap
Expand Down
5 changes: 3 additions & 2 deletions .et
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{ "bad_versions" : [ "1.2.1",
"1.2.3"]
}
"1.2.3",
"1.3.0"]
}
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [status]
jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/tmp/src/nipype/doc/_build/html/index.html
circleci-jobs: build_docs
Loading