Skip to content

TST: Parametrize JoinNode expansion tests over config needed_outputs #2981

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 3 commits into from
Aug 1, 2019

Conversation

oesteban
Copy link
Contributor

@oesteban oesteban commented Aug 1, 2019

Will help better test #2971.

Acknowledgment

  • (Mandatory) I acknowledge that this contribution will be available under the Apache 2 license.

@oesteban oesteban force-pushed the tst/parametrize-join-expansion branch from aec1b98 to 0da0f2b Compare August 1, 2019 01:02
@oesteban oesteban changed the title TST: Parametrize over config needed_outputs JoinNode expansion tests TST: Parametrize JoinNode expansion tests over config needed_outputs Aug 1, 2019
Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This config thing is changing global state, so we should probably restore the original value at the end of the function. Or mock config, if that seems worth the effort.

Co-Authored-By: Chris Markiewicz <effigies@gmail.com>
@codecov
Copy link

codecov bot commented Aug 1, 2019

Codecov Report

Merging #2981 into master will decrease coverage by 2.82%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2981      +/-   ##
==========================================
- Coverage   67.08%   64.25%   -2.83%     
==========================================
  Files         343      342       -1     
  Lines       43767    43730      -37     
  Branches     5466     5466              
==========================================
- Hits        29361    28099    -1262     
- Misses      13687    14536     +849     
- Partials      719     1095     +376
Flag Coverage Δ
#smoketests ?
#unittests 64.25% <ø> (ø) ⬆️
Impacted Files Coverage Δ
nipype/utils/spm_docs.py 25.92% <0%> (-44.45%) ⬇️
nipype/utils/logger.py 59.7% <0%> (-29.86%) ⬇️
nipype/algorithms/rapidart.py 35% <0%> (-29.42%) ⬇️
nipype/utils/provenance.py 55.73% <0%> (-28.35%) ⬇️
nipype/interfaces/spm/base.py 57.94% <0%> (-27.16%) ⬇️
nipype/interfaces/fsl/model.py 55.26% <0%> (-25.35%) ⬇️
nipype/interfaces/matlab.py 64.64% <0%> (-21.22%) ⬇️
nipype/workflows/fmri/fsl/preprocess.py 72.13% <0%> (-13.94%) ⬇️
nipype/pipeline/plugins/multiproc.py 72.22% <0%> (-12.35%) ⬇️
nipype/workflows/fmri/spm/preprocess.py 60.2% <0%> (-12.25%) ⬇️
... and 32 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f2f94f...a6dab61. Read the comment docs.

@codecov
Copy link

codecov bot commented Aug 1, 2019

Codecov Report

Merging #2981 into master will decrease coverage by 2.82%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2981      +/-   ##
==========================================
- Coverage   67.08%   64.25%   -2.83%     
==========================================
  Files         343      342       -1     
  Lines       43767    43730      -37     
  Branches     5466     5466              
==========================================
- Hits        29361    28099    -1262     
- Misses      13687    14536     +849     
- Partials      719     1095     +376
Flag Coverage Δ
#smoketests ?
#unittests 64.25% <ø> (ø) ⬆️
Impacted Files Coverage Δ
nipype/utils/spm_docs.py 25.92% <0%> (-44.45%) ⬇️
nipype/utils/logger.py 59.7% <0%> (-29.86%) ⬇️
nipype/algorithms/rapidart.py 35% <0%> (-29.42%) ⬇️
nipype/utils/provenance.py 55.73% <0%> (-28.35%) ⬇️
nipype/interfaces/spm/base.py 57.94% <0%> (-27.16%) ⬇️
nipype/interfaces/fsl/model.py 55.26% <0%> (-25.35%) ⬇️
nipype/interfaces/matlab.py 64.64% <0%> (-21.22%) ⬇️
nipype/workflows/fmri/fsl/preprocess.py 72.13% <0%> (-13.94%) ⬇️
nipype/pipeline/plugins/multiproc.py 72.22% <0%> (-12.35%) ⬇️
nipype/workflows/fmri/spm/preprocess.py 60.2% <0%> (-12.25%) ⬇️
... and 32 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f2f94f...2e9ecc1. Read the comment docs.

@oesteban
Copy link
Contributor Author

oesteban commented Aug 1, 2019

I have tested locally in all python versions we are testing - since tests were already passing before the suggestions, I'll go ahead and merge to focus on the other PR and release some Circle/Travis resources.

@oesteban oesteban merged commit 7262b24 into nipy:master Aug 1, 2019
@oesteban oesteban deleted the tst/parametrize-join-expansion branch August 1, 2019 16:14
@effigies
Copy link
Member

effigies commented Aug 1, 2019

Seems reasonable.

@effigies effigies added this to the 1.2.1 milestone Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants