Skip to content

Update our master branch with runtime profiling and nipype re-base #8

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 516 commits into from
Feb 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
516 commits
Select commit Hold shift + click to select a range
233f05d
Merge remote-tracking branch 'origin/fix/use_current_prov' into fix/u…
satra Dec 3, 2015
ca2be1f
tst: add prov test
satra Dec 3, 2015
e9c96a7
Merge remote-tracking branch 'origin/fix/use_current_prov' into fix/u…
satra Dec 3, 2015
728585c
tst: added missing auto tests
satra Dec 4, 2015
db51634
fix: updated provenance support to use pypi prov package
satra Dec 4, 2015
7fe6251
fix: removed decode call
satra Dec 4, 2015
2eaecfa
fix: removed iflogger statement
satra Dec 4, 2015
4623101
fix: absolute to relative imports
alexsavio Dec 4, 2015
f061ee7
fix:import utils needed one more dot
alexsavio Dec 4, 2015
d3db782
Merge branch 'master' into enh/ImprovedNosetestsVerbosity
oesteban Dec 4, 2015
9c2749d
Merge branch 'master' into fix/TVTKPolyDataWriter
oesteban Dec 4, 2015
cbdc3dd
Merge pull request #1278 from nipy/fix/ants_cleanup
satra Dec 4, 2015
c34bcef
Merge remote-tracking branch 'upstream/master' into fix/use_current_prov
satra Dec 4, 2015
7c6bc54
Merge pull request #1285 from alexsavio/importfix
satra Dec 5, 2015
cd50621
Correct versions and consistency in install.rst
DimitriPapadopoulos Dec 7, 2015
80e284f
Merge pull request #1286 from DimitriPapadopoulos/patch-1
satra Dec 7, 2015
6a8f6d6
Merge pull request #1219 from oesteban/fix/TVTKPolyDataWriter
chrisgorgo Dec 9, 2015
b125007
Makes S3DataGrabber change all paths from s3 to local
billbrod Dec 10, 2015
54e861a
Fixed tests and added description for boto error for anon requests
shariqiqbal2810 Dec 10, 2015
946cb3c
Merge branch 's3io-fix' of https://github.com/pearsonlab/nipype
shariqiqbal2810 Dec 10, 2015
a87a88f
BUG: Sets usedefault=True for invert_initial_moving_transform
jessicaforbes Dec 9, 2015
8e09f64
fix:plugins: os.environ.data to dict(os.environ)
alexsavio Dec 11, 2015
526571d
Merge remote-tracking branch 'upstream/master' into fix/use_current_prov
satra Dec 12, 2015
74cd3bd
fix: use text_type to control unicode output
satra Dec 12, 2015
1b83253
fix: use text_type on str for exceptions
satra Dec 12, 2015
191937f
tst: add a test that fails with unicode strings
satra Dec 12, 2015
60b36a2
Merge remote-tracking branch 'origin/fix/use_current_prov' into fix/u…
satra Dec 12, 2015
b66c850
fix: unicode/str accounting on py3/2
satra Dec 13, 2015
3b9e5bf
Merge pull request #1241 from oesteban/enh/ImprovedNosetestsVerbosity
satra Dec 13, 2015
e33e99c
fix: updated changes, fixed circle feeds
satra Dec 13, 2015
8860758
Merge remote-tracking branch 'upstream/master' into fix/use_current_prov
satra Dec 13, 2015
8cbf91d
tst: enable provenance for testing on circle
satra Dec 13, 2015
4a9205d
explicitly set f-test contrasts to 0
carolFrohlich Dec 14, 2015
5126cc3
Merge pull request #1296 from carolFrohlich/master
chrisgorgo Dec 14, 2015
301d394
Merge pull request #1279 from satra/fix/use_current_prov
chrisgorgo Dec 14, 2015
1353628
Merge pull request #1290 from BRAINSia/antsRegistrationWrappingBugFix
chrisgorgo Dec 14, 2015
6bce98b
Add list check and conversion to dict
oesteban Dec 15, 2015
6172119
update CHANGES
oesteban Dec 15, 2015
5888dc9
Merge branch 'master' into fix/CheckInputsLoggingHashDiff
oesteban Dec 15, 2015
2dd1837
fix: from make check
satra Dec 17, 2015
e915829
Merge pull request #1298 from oesteban/fix/CheckInputsLoggingHashDiff
satra Dec 17, 2015
f5c1229
ENH: Add initial nipype wrapping for Ants DenoiseImage
jessicaforbes Nov 13, 2015
ee81bc4
ENH: Add multiple output option for wrapped Ants DenoiseImage
jessicaforbes Nov 14, 2015
ef1f45d
ENH: Adds example input params for wrapped Ants DenoiseImage
jessicaforbes Nov 14, 2015
133ed48
ENH: Adds DenoiseImage import to __init__.py
jessicaforbes Nov 16, 2015
274544a
BUG: Fixes list indexing when assigning outputs in DenoiseImage
jessicaforbes Dec 10, 2015
beb2a80
ENH: Updates CHANGES file
jessicaforbes Dec 17, 2015
ea3312a
ENH: Adds test file for DenoiseImage
jessicaforbes Dec 17, 2015
86ce74a
ENH: Removes print statement
jessicaforbes Dec 17, 2015
6feccb6
ENH: Updates input_image to file in testing/data dir for doctest
jessicaforbes Dec 17, 2015
5a60036
TYPO: Adds single quote
jessicaforbes Dec 17, 2015
fa00127
fix: decode bytes output when multiprocessing plugin is used with std…
satra Dec 18, 2015
bec353c
fix: fixes issue #1227 when install fails with pypi
satra Dec 18, 2015
334272c
ENH: Replicates N4BiasFieldCorrection output style
jessicaforbes Dec 18, 2015
5e8df93
Interfaces for MINC tools.
carlohamalainen Dec 18, 2015
2ed1344
ENH: Uses name_source/name_template instead of genfile
jessicaforbes Dec 21, 2015
4ae3ec1
Merge pull request #1303 from satra/fix/tests
satra Dec 22, 2015
0da735e
Merge remote-tracking branch 'upstream/master' into enh/denoise
satra Dec 22, 2015
fe29433
fix: keep_extension metadata behavior has now been fixed
satra Dec 22, 2015
da38676
Merge pull request #13 from satra/enh/denoise
jessicaforbes Dec 22, 2015
a4b1867
Merge pull request #1291 from BRAINSia/wrapDenoiseImage
chrisgorgo Dec 23, 2015
3119844
Merge nipype/master.
carlohamalainen Dec 23, 2015
02afb71
nipype/interfaces/fsl/maths.py: Fix typos
iglpdc Dec 24, 2015
9b80fb7
Merge pull request #1306 from iglpdc/quick-typo
chrisgorgo Dec 24, 2015
2f84671
ENH: Updates CHANGES file
carlohamalainen Dec 24, 2015
9694027
Merge remote-tracking branch 'upstream/master' into carlo-minc-interface
carlohamalainen Dec 24, 2015
517129a
PEP8 compliance.
carlohamalainen Dec 25, 2015
aa918d1
Long lines no more.
carlohamalainen Dec 25, 2015
680904e
Fix setup; install was broken.
carlohamalainen Dec 26, 2015
fbefca2
MINC test files.
carlohamalainen Dec 26, 2015
0744083
Docstrings for MINC interfaces.
carlohamalainen Dec 26, 2015
c2bfb38
Multiline desc strings.
carlohamalainen Dec 26, 2015
c5d93c1
Relative imports.
carlohamalainen Dec 26, 2015
b92d0f8
Use name_source/name_template for VolSymm interface.
carlohamalainen Dec 28, 2015
0b07706
output template for Extract interface
carlohamalainen Dec 29, 2015
851f3d3
Output template for ToRaw interface.
carlohamalainen Dec 29, 2015
73c93be
name template for Convert interface
carlohamalainen Dec 29, 2015
64de4d6
name template for Copy interface
carlohamalainen Dec 29, 2015
2b68b2c
name_template for ToEcat interface.
carlohamalainen Dec 29, 2015
a725ce4
Do not keep extension.
carlohamalainen Dec 29, 2015
a18fb69
name template for Dump interface
carlohamalainen Dec 29, 2015
ae7a618
name template for Average interface
carlohamalainen Dec 29, 2015
5c4a618
name template for Blob interface
carlohamalainen Dec 29, 2015
2c08958
name template for Calc interface
carlohamalainen Dec 29, 2015
7f6ff7c
name template for BBox interface
carlohamalainen Dec 29, 2015
a7de3ea
name template for Beast interface
carlohamalainen Dec 29, 2015
d8721d9
name template for Pik interface
carlohamalainen Dec 29, 2015
0483bf4
name template for Math interface
carlohamalainen Dec 29, 2015
412d479
name template for Resample interface
carlohamalainen Dec 29, 2015
d9ca533
name template for Norm interface
carlohamalainen Dec 29, 2015
dbc611b
name template for VolCentre interface
carlohamalainen Dec 29, 2015
a6aa19b
name template for VolPad interface
carlohamalainen Dec 29, 2015
841f84a
name template for Voliso interface
carlohamalainen Dec 29, 2015
9918d8b
name template for Gennlxfm
carlohamalainen Dec 29, 2015
4b8ac92
name template for Blur interface
carlohamalainen Dec 29, 2015
95daae5
Correction to previous commit - wrong arg to super.
carlohamalainen Dec 29, 2015
fd1d808
Correction to previous commit - name of base in output
carlohamalainen Dec 29, 2015
beb5eb2
name template for XfmConcat
carlohamalainen Dec 29, 2015
1245365
name template for outputs of BestLinReg
carlohamalainen Dec 29, 2015
674de74
name template for NlpFit interface
carlohamalainen Dec 29, 2015
373ef6a
name template for XfmAvg
carlohamalainen Dec 29, 2015
cb539d9
name template for XfmInvert
carlohamalainen Dec 29, 2015
c43c621
name templates for BigAverage interface
carlohamalainen Dec 29, 2015
efd3850
name templates for Reshape interface
carlohamalainen Dec 29, 2015
71d1269
Formatting for PEP8.
carlohamalainen Dec 29, 2015
e5339b2
Remove old notes-to-self.
carlohamalainen Dec 29, 2015
2486713
Merge pull request #1289 from pearsonlab/s3io-fix
chrisgorgo Dec 29, 2015
4f34353
refactoring engine
oesteban Dec 29, 2015
879862f
restructure engine module
oesteban Dec 29, 2015
04fd0d2
remove unnecessary pass
oesteban Dec 29, 2015
7aed691
add new packages
oesteban Dec 29, 2015
018195d
fix tests
oesteban Dec 29, 2015
d0cc5d6
fix tests using logger
oesteban Dec 29, 2015
913ec40
fix test_utils
oesteban Dec 29, 2015
901ae6c
use relative imports in tests
oesteban Dec 29, 2015
6fec463
Revert to original definition of Blur interface.
carlohamalainen Dec 29, 2015
67b5781
MINC interface tests.
carlohamalainen Dec 29, 2015
20e1c48
Reverting changes for XfmInvert and XfmAvg which failed when testing …
carlohamalainen Dec 29, 2015
d144e7c
Merge remote-tracking branch 'upstream/master' into carlo-minc-interface
carlohamalainen Dec 29, 2015
30fb067
Update autogen tests.
carlohamalainen Dec 29, 2015
eed7698
Revert on NlpFit interface.
carlohamalainen Dec 30, 2015
2f8c7bd
Update tests.
carlohamalainen Dec 30, 2015
47f0326
Merge pull request #1308 from oesteban/enh/RefactorEngineModule
oesteban Dec 31, 2015
9ec91b9
Merge pull request #1304 from carlohamalainen/carlo-minc-interface
satra Dec 31, 2015
a6a11b9
Merge pull request #1294 from alexsavio/envfix
satra Dec 31, 2015
cc2b088
Added support for nan images and turned off memory mapping.
chrisgorgo Jan 1, 2016
634bc0e
Fixes #1311
chrisgorgo Jan 2, 2016
d429f02
better xor
chrisgorgo Jan 2, 2016
c75ebdb
fixed tests
chrisgorgo Jan 2, 2016
9deb366
removed ImportError restriction to address faulthandler problem in Ju…
poldrack Jan 2, 2016
581a698
Merge branch 'fix/ants_dep_inputs' of https://github.com/chrisfilo/ni…
poldrack Jan 2, 2016
0b7dc8d
Merge pull request #1313 from poldrack/master
oesteban Jan 2, 2016
77ffab3
Merge pull request #1312 from chrisfilo/fix/ants_dep_inputs
chrisgorgo Jan 2, 2016
cc3ab3c
added ISO decoding for stderr/stdout to address py3 issue
poldrack Jan 3, 2016
857384d
explicitly added IOError for faulthandler
poldrack Jan 3, 2016
d160383
added UnicodeDecodeError to exception catch
poldrack Jan 4, 2016
2af5c1d
Removed memory profiler stuff for now
pintohutch Jan 8, 2016
b7e9309
Removed the memory profiler code to just pull in s3 datasink code
pintohutch Jan 8, 2016
0e5e0e9
Removed unneccessary import
pintohutch Jan 8, 2016
0f78025
Removed unncessary function argument
pintohutch Jan 8, 2016
15f3ced
Corrected Carol's in fsl interface code
pintohutch Jan 8, 2016
ca4bed5
Removed all of the ResourceMultiProc plugin so the S3 datasink
pintohutch Jan 11, 2016
0d7419e
Manually fixed conflicts
pintohutch Jan 12, 2016
0e6a42b
Merge branch 'nipy-master' into s3_datasink
pintohutch Jan 12, 2016
ecb05e2
Found merge HEAD comment and removed
pintohutch Jan 12, 2016
ee70359
Removed print statements from fakes3 checker and made it a check at t…
pintohutch Jan 12, 2016
7ecaefd
Changed fakes3_found to fakes3
pintohutch Jan 12, 2016
b5a6024
Removed S3 datasink stuff
pintohutch Jan 13, 2016
c2c7574
Merge pull request #1314 from poldrack/master
chrisgorgo Jan 13, 2016
818da99
Fixed Python3 compatibility bug in exception raising
pintohutch Jan 13, 2016
d410fbb
Merge pull request #1309 from chrisfilo/fix/distance
chrisgorgo Jan 13, 2016
49c14f8
Made exceptions more explicit
pintohutch Jan 13, 2016
70ca457
Started adding in logic for num_threads and changed names of real mem…
pintohutch Jan 13, 2016
a9dd168
Removed S3DataSink and changed dummy file writing to be Python2/3 com…
pintohutch Jan 14, 2016
36e1446
Added cmd-level threads and memory profiling
pintohutch Jan 14, 2016
61b8d0c
Resolved conflicts from re-basing and pulling in nipype master
pintohutch Jan 14, 2016
a3c9be7
Merge branch 'nipy-master' into resource_multiproc
pintohutch Jan 14, 2016
51aa4f5
Include OAR-args
Jan 15, 2016
adefb22
Undo Commit
Jan 15, 2016
43c0d56
remove MultiProc, MultiprocPlugin is default
carolFrohlich Jan 15, 2016
052cf86
ENH: Add new command line for BRAINSABC tool
hjmjohnson Jan 15, 2016
a5ad273
Merge pull request #1322 from nipy/AddPurePlugsProcessingToBRAINSABC
satra Jan 17, 2016
0bb6d79
change old namespaces
carolFrohlich Jan 19, 2016
a68e0e6
Added initial num_threads monitoring code
pintohutch Jan 19, 2016
5dac574
Merged Carol's changes
pintohutch Jan 19, 2016
7fafd39
Bug fix in the MATLAB interface for recent SPM standalones
gllmflndn Jan 21, 2016
a9e2b51
Merge pull request #1327 from gllmflndn/master
chrisgorgo Jan 22, 2016
dd55523
added version checking in afni.SkullStrip to avoid use of virtual dis…
oesteban Jan 23, 2016
b400aa9
added a travis command to let tests pass
oesteban Jan 23, 2016
47d05b2
fixed tests without AFNI installation
oesteban Jan 23, 2016
31f5ecd
replaced RuntimeWarning by nipype warning
oesteban Jan 23, 2016
3777370
improved msg when AFNI is outdated
oesteban Jan 23, 2016
22a9477
fixed behavior with outdated versions of afni
oesteban Jan 23, 2016
43e8c20
removed unnecessary import
oesteban Jan 25, 2016
2f7ac22
Merge pull request #1328 from oesteban/fix/AfniVirtualDisplay
oesteban Jan 25, 2016
0e7ad29
Update CHANGES
oesteban Jan 25, 2016
187f487
reduced CircleCI build time by caching apt
oesteban Jan 27, 2016
cbc7f92
update CHANGES
oesteban Jan 27, 2016
77050ca
Merge pull request #1333 from oesteban/fix/CircleCI/CacheApt
satra Jan 28, 2016
9f199be
fixed missing link to fsl-feeds from apt
oesteban Jan 28, 2016
027e9e1
Merge pull request #1334 from oesteban/fix/CircleCI/FslFeeds
chrisgorgo Jan 28, 2016
6ca964d
Update circle.yml
oesteban Jan 28, 2016
d15d89c
enh: add PETPVC wrapper
alexsavio Jan 28, 2016
2ed1624
improved AFNI version parsing after publication of 16.0.01, #1328
oesteban Jan 28, 2016
460b3a4
Add empty petpvc example files
alexsavio Jan 28, 2016
995ecaf
fix: drop example_data from petpvc
alexsavio Jan 28, 2016
2602cb6
Merge pull request #1337 from oesteban/fix/AfniVersionAfter16
oesteban Jan 28, 2016
b8f8e88
Merge pull request #1284 from srothmei/freesurfer_vol2surf_mkmask_xor
chrisgorgo Jan 31, 2016
e92aaa2
Merge branch 'master' into AvoidRuntimeWarningDivideByZero
chrisgorgo Jan 31, 2016
de946d2
Merge branch 'AvoidRuntimeWarningDivideByZero'
chrisgorgo Jan 31, 2016
74f8b78
Fixed bad conflict resolution
chrisgorgo Jan 31, 2016
463708c
fixed several errors
oesteban Jan 31, 2016
6be212e
fixed several errors
oesteban Jan 31, 2016
b73ec6d
make check-before-commit
oesteban Feb 1, 2016
d06b58c
enhance circle CI error reporting
chrisgorgo Feb 1, 2016
cc6634f
actually xunit support is built in
chrisgorgo Feb 1, 2016
360584d
enhance circle CI error reporting
chrisgorgo Feb 1, 2016
b0e5e29
merge oscars fixes + fix the sloppy merge
chrisgorgo Feb 1, 2016
69d6c78
further fixes
chrisgorgo Feb 1, 2016
86211b9
remove profiling
chrisgorgo Feb 1, 2016
423dd2c
added coverage deps
chrisgorgo Feb 1, 2016
6ee17d4
make FSL course download slightly easier to debug
chrisgorgo Feb 1, 2016
0e195b5
fixed mkdir
chrisgorgo Feb 1, 2016
1262955
Merge pull request #1338 from oesteban/fix/ProblemsInMaster
oesteban Feb 1, 2016
c1e811e
Merge pull request #1339 from chrisfilo/fix/sloppy_merge
chrisgorgo Feb 1, 2016
7fe9d3c
Merge branch 'master' into enh/DivisionWarningsTSNR
oesteban Feb 1, 2016
cf2bea0
lower coverage requirement to 50%
chrisgorgo Feb 1, 2016
4da1fef
Merge branch 'master' into enh/circle_testing
chrisgorgo Feb 1, 2016
435c417
fixed documentation of fsl.Smooth. Close #1324
oesteban Feb 1, 2016
e49bfb9
minor improvements on doctests
oesteban Feb 1, 2016
c6fa91b
added mandatory flag, added config to travis that broke tests
oesteban Feb 1, 2016
dbeea1c
fixed mistake in travis settings
oesteban Feb 1, 2016
1f9f942
patched doctest due to https://github.com/nipy/nipype/pull/1341#discu…
oesteban Feb 1, 2016
333122e
enh: add PETPVC wrapper
alexsavio Jan 28, 2016
248b38f
Add empty petpvc example files
alexsavio Jan 28, 2016
dbd86a8
fix: drop example_data from petpvc
alexsavio Jan 28, 2016
a45bd50
Merge branch 'petpvc' of github.com:alexsavio/nipype into petpvc
alexsavio Feb 2, 2016
435004c
add petpvc specs file
alexsavio Feb 2, 2016
c2eedc7
Added aws.rst file documenting use of new S3 capabilities in the Data…
pintohutch Feb 2, 2016
a5a857f
fix non-ascii chars in petpvc.py
alexsavio Feb 3, 2016
c0d148a
Removed bucket from being an attribute of the DataSink and just made …
pintohutch Feb 3, 2016
267e42a
Merge pull request #1341 from oesteban/enh/DocFSLUtils
satra Feb 3, 2016
356b028
Merge pull request #1234 from oesteban/enh/DivisionWarningsTSNR
satra Feb 3, 2016
97e7333
Manual merge of s3_datasink and resource_multiproc branch for cpac run
pintohutch Feb 3, 2016
08a485d
Manual merge of s3_datasink and resource_multiproc branch for cpac run
pintohutch Feb 3, 2016
e5945e9
Changed resources fetching to its function and try-blocked it in case…
pintohutch Feb 3, 2016
1f49391
Merge pull request #1316 from FCP-INDI/s3_datasink
chrisgorgo Feb 3, 2016
1a0b85a
added AWS mention
chrisgorgo Feb 3, 2016
6765048
Merge branch 'master' into enh/circle_testing
chrisgorgo Feb 4, 2016
f4149ae
run check-before-commit
oesteban Feb 4, 2016
3afcdd3
Merge pull request #1344 from oesteban/enh/RunCheckBeforeCommit
oesteban Feb 4, 2016
c4fc236
Merge pull request #1342 from chrisfilo/enh/circle_testing
chrisgorgo Feb 4, 2016
e7b059f
Merge branch 'petpvc' of https://github.com/alexsavio/nipype into ale…
chrisgorgo Feb 4, 2016
f11e960
Merge branch 'alexsavio-petpvc'
chrisgorgo Feb 4, 2016
038223f
mention PETPVC
chrisgorgo Feb 4, 2016
9cb7a68
Fixed pickling bug of instance method by passing profiling flag inste…
pintohutch Feb 4, 2016
2de8786
Merge pull request #6 from nipy/master
pintohutch Feb 4, 2016
6e3a7b5
Merged resource_multiproc into s3_multiproc
pintohutch Feb 4, 2016
fe0a352
Merged resource_multiproc into s3_multiproc
pintohutch Feb 4, 2016
7cc0731
Merge branch 's3_multiproc' into resource_multiproc
pintohutch Feb 4, 2016
7b3d19f
Re-pulled in changes from github
pintohutch Feb 4, 2016
5733af9
Fixed hsarc related to yrt blocking
pintohutch Feb 4, 2016
544dddf
Removed forcing of runtime_profile to be off:
pintohutch Feb 4, 2016
c074299
Made when result is None that the end stats are N/A
pintohutch Feb 4, 2016
a4e3ae6
Added try-blocks around the runtime profile stats in callback logger
pintohutch Feb 4, 2016
e25ac8c
Cleaned up some code and removed recursion from get_num_threads
pintohutch Feb 5, 2016
d714a03
Added check for runtime having 'get' attribute
pintohutch Feb 9, 2016
27ee192
Removed print statements
pintohutch Feb 12, 2016
c99f834
Removed more print statements and touched up some code to be more lik…
pintohutch Feb 12, 2016
07461cf
Added a fix for the recursive symlink bug (was happening because whil…
pintohutch Feb 12, 2016
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/nipype/build
/nipype/nipype.egg-info
/doc/_build
/doc/preproc
/doc/users/examples
/doc/api/generated
*.pyc
Expand All @@ -17,3 +18,6 @@
.DS_Store
nipype/testing/data/von-ray_errmap.nii.gz
nipype/testing/data/von_errmap.nii.gz
crash*.pklz
.coverage
htmlcov/
11 changes: 11 additions & 0 deletions .noserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[nosetests]
verbosity=3

with-coverage=1
cover-branches=1
cover-xml=1
cover-xml-file=./coverage.xml
cover-min-percentage=50


with-xunit=1
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ cache:
language: python
python:
- 2.7
- 3.4
env:
- INSTALL_DEB_DEPENDECIES=true
- INSTALL_DEB_DEPENDECIES=false
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- chmod +x miniconda.sh
- "./miniconda.sh -b"
- export PATH=/home/travis/miniconda/bin:$PATH
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda2/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
- if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi
- if $INSTALL_DEB_DEPENDECIES; then bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh);
Expand All @@ -22,20 +23,21 @@ before_install:
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases;
fi
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
- if $INSTALL_DEB_DEPENDECIES; then source /etc/afni/afni.sh; fi
- export FSLOUTPUTTYPE=NIFTI_GZ
install:
- conda update --yes conda
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
- conda install --yes numpy scipy nose traits networkx dateutil
- pip install nibabel
- conda install --yes numpy scipy nose networkx dateutil
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
- pip install python-coveralls
- pip install nose-cov
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
- pip install https://github.com/trungdong/prov/archive/rdf.zip
- pip install -r requirements.txt # finish remaining requirements
- python setup.py install
script:
- nosetests --with-doctest --with-cov --cov nipype --cov-config .coveragerc --logging-level=INFO
- python -W once:FSL:UserWarning:nipype `which nosetests` --with-doctest --with-cov --cover-package nipype --cov-config .coveragerc --logging-level=INFO
after_success:
- coveralls --config_file .coveragerc
deploy:
Expand Down
15 changes: 14 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
Next Release
Next release
============

* ENH: Added support for PETPVC (https://github.com/nipy/nipype/pull/1335)
* ENH: Merge S3DataSink into DataSink, added AWS documentation (https://github.com/nipy/nipype/pull/1316)
* TST: Cache APT in CircleCI (https://github.com/nipy/nipype/pull/1333)
* ENH: Add new flags to the BRAINSABC for new features (https://github.com/nipy/nipype/pull/1322)
* ENH: Provides a Nipype wrapper for ANTs DenoiseImage (https://github.com/nipy/nipype/pull/1291)
* FIX: Minor bugfix logging hash differences (https://github.com/nipy/nipype/pull/1298)
* FIX: Use released Prov python library (https://github.com/nipy/nipype/pull/1279)
* ENH: Support for Python 3 (https://github.com/nipy/nipype/pull/1221)
* FIX: VTK version check missing when using tvtk (https://github.com/nipy/nipype/pull/1219)
* ENH: Added an OAR scheduler plugin (https://github.com/nipy/nipype/pull/1259)
* ENH: New ANTs interface: antsBrainExtraction (https://github.com/nipy/nipype/pull/1231)
* API: Default model level for the bedpostx workflow has been set to "2" following FSL 5.0.9 lead
* ENH: New interfaces for interacting with AWS S3: S3DataSink and S3DataGrabber (https://github.com/nipy/nipype/pull/1201)
* ENH: Interfaces for MINC tools (https://github.com/nipy/nipype/pull/1304)

Release 0.11.0 (September 15, 2015)
============
Expand Down
2 changes: 2 additions & 0 deletions THANKS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ Contributors to Nipype include but are not limited to:
* Aimi Watanabe
* Alexander Schaefer
* Alexandre Gramfort
* Alexandre Savio
* Anisha Keshavan
* Ariel Rokem
* Ben Acland
* Ben Cipollini
* Basile Pinsard
* Brendan Moloney
* Brian Cheung
Expand Down
2 changes: 1 addition & 1 deletion bin/nipype2boutiques
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!python
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
import sys
Expand Down
2 changes: 1 addition & 1 deletion bin/nipype_cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!python
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
import sys
Expand Down
2 changes: 1 addition & 1 deletion bin/nipype_display_crash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!python
"""Displays crash information from Nipype crash files. For certain crash files,
one can rerun a failed node in a temp directory.

Expand Down
40 changes: 21 additions & 19 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
python setup.py build_sphinx
"""

from __future__ import print_function

# Standard library imports
import sys
import os
Expand All @@ -27,23 +29,25 @@

################################################################################
# Distutils Command class for installing nipype to a temporary location.


class TempInstall(Command):
temp_install_dir = os.path.join('build', 'install')

def run(self):
""" build and install nipype in a temporary location. """
install = self.distribution.get_command_obj('install')
install.install_scripts = self.temp_install_dir
install.install_base = self.temp_install_dir
install.install_base = self.temp_install_dir
install.install_platlib = self.temp_install_dir
install.install_purelib = self.temp_install_dir
install.install_data = self.temp_install_dir
install.install_lib = self.temp_install_dir
install.install_data = self.temp_install_dir
install.install_lib = self.temp_install_dir
install.install_headers = self.temp_install_dir
install.run()

# Horrible trick to reload nipype with our temporary instal
for key in sys.modules.keys():
for key in list(sys.modules.keys()):
if key.startswith('nipype'):
sys.modules.pop(key, None)
sys.path.append(os.path.abspath(self.temp_install_dir))
Expand All @@ -62,12 +66,11 @@ def finalize_options(self):
# Distutils Command class for API generation
class APIDocs(TempInstall):
description = \
"""generate API docs """
"""generate API docs """

user_options = [
('None', None, 'this command has no options'),
]

]

def run(self):
# First build the project and install it to a temporary location.
Expand Down Expand Up @@ -131,30 +134,29 @@ def run(self):

def zip_docs(self):
if not os.path.exists(DOC_BUILD_DIR):
raise OSError, 'Doc directory does not exist.'
raise OSError('Doc directory does not exist.')
target_file = os.path.join('doc', 'documentation.zip')
# ZIP_DEFLATED actually compresses the archive. However, there
# will be a RuntimeError if zlib is not installed, so we check
# for it. ZIP_STORED produces an uncompressed zip, but does not
# require zlib.
try:
zf = zipfile.ZipFile(target_file, 'w',
compression=zipfile.ZIP_DEFLATED)
compression=zipfile.ZIP_DEFLATED)
except RuntimeError:
warnings.warn('zlib not installed, storing the docs '
'without compression')
'without compression')
zf = zipfile.ZipFile(target_file, 'w',
compression=zipfile.ZIP_STORED)
compression=zipfile.ZIP_STORED)

for root, dirs, files in os.walk(DOC_BUILD_DIR):
relative = relative_path(root)
if not relative.startswith('.doctrees'):
for f in files:
zf.write(os.path.join(root, f),
os.path.join(relative, 'html_docs', f))
os.path.join(relative, 'html_docs', f))
zf.close()


def finalize_options(self):
""" Override the default for the documentation build
directory.
Expand All @@ -164,23 +166,25 @@ def finalize_options(self):

################################################################################
# Distutils Command class to clean


class Clean(clean):

def run(self):
clean.run(self)
api_path = os.path.join('doc', 'api', 'generated')
if os.path.exists(api_path):
print "Removing %s" % api_path
print("Removing %s" % api_path)
shutil.rmtree(api_path)
interface_path = os.path.join('doc', 'interfaces', 'generated')
if os.path.exists(interface_path):
print "Removing %s" % interface_path
print("Removing %s" % interface_path)
shutil.rmtree(interface_path)
if os.path.exists(DOC_BUILD_DIR):
print "Removing %s" % DOC_BUILD_DIR
print("Removing %s" % DOC_BUILD_DIR)
shutil.rmtree(DOC_BUILD_DIR)
if os.path.exists(DOC_DOCTREES_DIR):
print "Removing %s" % DOC_DOCTREES_DIR
print("Removing %s" % DOC_DOCTREES_DIR)
shutil.rmtree(DOC_DOCTREES_DIR)


Expand All @@ -189,5 +193,3 @@ def run(self):
'api_docs': APIDocs,
'clean': Clean,
}


70 changes: 29 additions & 41 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,83 +1,71 @@
dependencies:
cache_directories:
- "~/.apt-cache"
- "~/examples/data"
- "~/examples/fsdata"
- "~/examples/feeds"
- "~/mcr"
- "~/spm12"
- "~/fsl"
- "~/examples/fsl_course_data"
pre:
# Let CircleCI cache the apt archive
- sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
- wget -O- http://neuro.debian.net/lists/precise.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
- sudo apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu:80 0xA5D32F012649A5A9
- sudo apt-get update
override:
# Install apt packages
- sudo apt-get install -y fsl-core fsl-atlases fsl-mni152-templates fsl-feeds afni
- echo "source /etc/fsl/fsl.sh" >> $HOME/.profile
- echo "source /etc/afni/afni.sh" >> $HOME/.profile
- mkdir -p ~/examples/ && ln -sf /usr/share/fsl-feeds/ ~/examples/feeds
# Set up python environment
- pip install --upgrade pip
- pip install -e .
- pip install matplotlib sphinx ipython boto
- pip install matplotlib sphinx ipython boto coverage
- gem install fakes3
- if [[ ! -d ~/fsl ]]; then wget "http://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5.0.9-centos6_64.tar.gz"; tar zxvf fsl-5.0.9-centos6_64.tar.gz; mv fsl ~/fsl; fi
- if [[ ! -d ~/examples/data ]]; then wget "http://tcpdiag.dl.sourceforge.net/project/nipy/nipype/nipype-0.2/nipype-tutorial.tar.bz2"; tar jxvf nipype-tutorial.tar.bz2; mkdir ~/examples; mv nipype-tutorial/* ~/examples/; fi
# we download this manually because CircleCI does not cache apt
- if [[ ! -d ~/examples/feeds ]]; then wget "http://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5.0.8-feeds.tar.gz"; tar zxvf fsl-5.0.8-feeds.tar.gz; mv feeds ~/examples/; fi
- if [[ ! -d ~/examples/fsl_course_data ]]; then wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt1.tar.gz" ; wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt2.tar.gz"; wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/tbss.tar.gz"; mkdir ~/examples/fsl_course_data; tar zxvf fdt1.tar.gz -C ~/examples/fsl_course_data; tar zxvf fdt2.tar.gz -C ~/examples/fsl_course_data; tar zxvf tbss.tar.gz -C ~/examples/fsl_course_data; fi
- if [[ ! -d ~/examples/data ]]; then wget "http://tcpdiag.dl.sourceforge.net/project/nipy/nipype/nipype-0.2/nipype-tutorial.tar.bz2" && tar jxvf nipype-tutorial.tar.bz2 && mv nipype-tutorial/* ~/examples/; fi
- if [[ ! -d ~/examples/fsl_course_data ]]; then wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt1.tar.gz" && wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt2.tar.gz" && wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/tbss.tar.gz" && mkdir ~/examples/fsl_course_data && tar zxvf fdt1.tar.gz -C ~/examples/fsl_course_data && tar zxvf fdt2.tar.gz -C ~/examples/fsl_course_data && tar zxvf tbss.tar.gz -C ~/examples/fsl_course_data; fi
- bash ~/nipype/tools/install_spm_mcr.sh
- mkdir -p ~/.nipype && echo "[logging]" > ~/.nipype/nipype.cfg && echo "workflow_level = DEBUG" >> ~/.nipype/nipype.cfg && echo "interface_level = DEBUG" >> ~/.nipype/nipype.cfg && echo "filemanip_level = DEBUG" >> ~/.nipype/nipype.cfg
- mkdir -p ~/.nipype && echo '[logging]' > ~/.nipype/nipype.cfg && echo 'workflow_level = DEBUG' >> ~/.nipype/nipype.cfg && echo 'interface_level = DEBUG' >> ~/.nipype/nipype.cfg && echo 'filemanip_level = DEBUG' >> ~/.nipype/nipype.cfg
machine:
environment:
FSLOUTPUTTYPE: NIFTI_GZ
test:
override:
- nosetests --with-doctest --logging-level=DEBUG --verbosity=3:
- mkdir -p ${CIRCLE_TEST_REPORTS}/nose
- source $HOME/.profile; nosetests --with-doctest --xunit-file="${CIRCLE_TEST_REPORTS}/nose/${CIRCLE_PROJECT_REPONAME}.xml" -c ./.noserc --logging-level=DEBUG --verbosity=3:
environment:
SPMMCRCMD: "$HOME/spm12/run_spm12.sh $HOME/mcr/v85/ script"
FORCE_SPMMCR: 1
FSL_COURSE_DATA: "$HOME/examples/fsl_course_data"
FSLDIR: "$HOME/fsl/"
PATH: "$HOME/fsl/bin:$PATH"
LD_LIBRARY_PATH: "$HOME/fsl/lib"
FSLOUTPUTTYPE: "NIFTI_GZ"
timeout: 2600
- set -o pipefail && cd doc && make html 2>&1 | tee ~/log.txt
- cat ~/log.txt && if grep -q "ERROR" ~/log.txt; then false; else true; fi
- python ~/nipype/tools/run_examples.py test_spm Linear workflow3d workflow4d:
- source $HOME/.profile; python ~/nipype/tools/run_examples.py test_spm Linear workflow3d workflow4d:
pwd: ../examples
environment:
SPMMCRCMD: "$HOME/spm12/run_spm12.sh $HOME/mcr/v85/ script"
FORCE_SPMMCR: 1
FSLDIR: "$HOME/fsl/"
PATH: "$HOME/fsl/bin:$PATH"
LD_LIBRARY_PATH: "$HOME/fsl/lib"
FSLOUTPUTTYPE: "NIFTI_GZ"
timeout: 1600
- python ~/nipype/tools/run_examples.py fmri_fsl_feeds Linear l1pipeline:
- source $HOME/.profile; python ~/nipype/tools/run_examples.py fmri_fsl_feeds Linear l1pipeline:
pwd: ../examples
environment:
FSLDIR: "$HOME/fsl/"
PATH: "$HOME/fsl/bin:$PATH"
LD_LIBRARY_PATH: "$HOME/fsl/lib"
FSLOUTPUTTYPE: "NIFTI_GZ"
- python ~/nipype/tools/run_examples.py fmri_spm_dartel Linear level1 l2pipeline:
- source $HOME/.profile; python ~/nipype/tools/run_examples.py fmri_spm_dartel Linear level1 l2pipeline:
pwd: ../examples
environment:
SPMMCRCMD: "$HOME/spm12/run_spm12.sh $HOME/mcr/v85/ script"
FORCE_SPMMCR: 1
FSLDIR: "$HOME/fsl/"
PATH: "$HOME/fsl/bin:$PATH"
LD_LIBRARY_PATH: "$HOME/fsl/lib"
FSLOUTPUTTYPE: "NIFTI_GZ"
timeout: 1600
- python ~/nipype/tools/run_examples.py fmri_fsl_reuse Linear level1_workflow:
- source $HOME/.profile; python ~/nipype/tools/run_examples.py fmri_fsl_reuse Linear level1_workflow:
pwd: ../examples
environment:
FSLDIR: "$HOME/fsl/"
PATH: "$HOME/fsl/bin:$PATH"
LD_LIBRARY_PATH: "$HOME/fsl/lib"
FSLOUTPUTTYPE: "NIFTI_GZ"
- python ~/nipype/tools/run_examples.py fmri_spm_nested Linear level1 l2pipeline:
- source $HOME/.profile; python ~/nipype/tools/run_examples.py fmri_spm_nested Linear level1 l2pipeline:
pwd: ../examples
environment:
SPMMCRCMD: "$HOME/spm12/run_spm12.sh $HOME/mcr/v85/ script"
FORCE_SPMMCR: 1
FSLDIR: "$HOME/fsl/"
PATH: "$HOME/fsl/bin:$PATH"
LD_LIBRARY_PATH: "$HOME/fsl/lib"
FSLOUTPUTTYPE: "NIFTI_GZ"

general:
artifacts:
- "doc/_build/html"
- "~/log.txt"
- "nosetests.xml"
- "coverage.xml"
Loading