Skip to content

fix for networkx and afni #2196

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 9 commits into from
Sep 23, 2017
Merged

fix for networkx and afni #2196

merged 9 commits into from
Sep 23, 2017

Conversation

satra
Copy link
Member

@satra satra commented Sep 23, 2017

this is a replacement for #2171 to get merged so that master is back on track.

fixes #2159
fixes #2194
closes #2171

(Fix/close lines edited by @effigies)

djarecka and others added 9 commits September 22, 2017 10:03
…(*) in a few places (nodes_iter, in_edges_iter, etc., dont exist in ver 2, but nodes, in_edges, etc., are iterators); had to add .copy to .subgraph for ver 2 (otherwise its a view), but had to keep original code for ver 1
…more (so changed to **dict); some updates related to changes in .nodes method (its not a list anymore)
…they have no tests, so no idea if changes work
@codecov-io
Copy link

Codecov Report

Merging #2196 into master will decrease coverage by 0.06%.
The diff coverage is 43.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2196      +/-   ##
==========================================
- Coverage   72.28%   72.22%   -0.07%     
==========================================
  Files        1171     1171              
  Lines       58622    58620       -2     
  Branches     8433     8434       +1     
==========================================
- Hits        42377    42339      -38     
- Misses      14887    14921      +34     
- Partials     1358     1360       +2
Flag Coverage Δ
#smoketests 72.22% <43.87%> (-0.07%) ⬇️
#unittests 69.89% <42.85%> (-0.07%) ⬇️
Impacted Files Coverage Δ
nipype/utils/misc.py 78.19% <ø> (-5.27%) ⬇️
nipype/interfaces/cmtk/cmtk.py 18.77% <0%> (ø) ⬆️
nipype/interfaces/afni/preprocess.py 81.27% <0%> (+0.25%) ⬆️
nipype/interfaces/cmtk/nx.py 19.39% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_somaflow.py 50% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_pbs.py 71.79% <0%> (ø) ⬆️
nipype/interfaces/cmtk/parcellation.py 14.46% <0%> (ø) ⬆️
nipype/interfaces/cmtk/nbs.py 36.55% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_oar.py 71.05% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_linear.py 100% <100%> (ø) ⬆️
... and 10 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 4a0bd3d...9ced114. Read the comment docs.

@codecov-io
Copy link

Codecov Report

Merging #2196 into master will decrease coverage by 0.06%.
The diff coverage is 43.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2196      +/-   ##
==========================================
- Coverage   72.28%   72.22%   -0.07%     
==========================================
  Files        1171     1171              
  Lines       58622    58620       -2     
  Branches     8433     8434       +1     
==========================================
- Hits        42377    42339      -38     
- Misses      14887    14921      +34     
- Partials     1358     1360       +2
Flag Coverage Δ
#smoketests 72.22% <43.87%> (-0.07%) ⬇️
#unittests 69.89% <42.85%> (-0.07%) ⬇️
Impacted Files Coverage Δ
nipype/utils/misc.py 78.19% <ø> (-5.27%) ⬇️
nipype/interfaces/cmtk/parcellation.py 14.46% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_somaflow.py 50% <0%> (ø) ⬆️
nipype/interfaces/cmtk/nx.py 19.39% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_oar.py 71.05% <0%> (ø) ⬆️
nipype/interfaces/cmtk/nbs.py 36.55% <0%> (ø) ⬆️
nipype/interfaces/cmtk/cmtk.py 18.77% <0%> (ø) ⬆️
nipype/interfaces/afni/preprocess.py 81.27% <0%> (+0.25%) ⬆️
nipype/pipeline/plugins/tests/test_pbs.py 71.79% <0%> (ø) ⬆️
nipype/pipeline/engine/tests/test_engine.py 93.43% <100%> (ø) ⬆️
... and 10 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 4a0bd3d...9ced114. Read the comment docs.

@codecov-io
Copy link

Codecov Report

Merging #2196 into master will decrease coverage by 0.06%.
The diff coverage is 43.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2196      +/-   ##
==========================================
- Coverage   72.28%   72.22%   -0.07%     
==========================================
  Files        1171     1171              
  Lines       58622    58620       -2     
  Branches     8433     8434       +1     
==========================================
- Hits        42377    42339      -38     
- Misses      14887    14921      +34     
- Partials     1358     1360       +2
Flag Coverage Δ
#smoketests 72.22% <43.87%> (-0.07%) ⬇️
#unittests 69.89% <42.85%> (-0.07%) ⬇️
Impacted Files Coverage Δ
nipype/utils/misc.py 78.19% <ø> (-5.27%) ⬇️
nipype/interfaces/cmtk/cmtk.py 18.77% <0%> (ø) ⬆️
nipype/interfaces/cmtk/nx.py 19.39% <0%> (ø) ⬆️
nipype/interfaces/afni/preprocess.py 81.27% <0%> (+0.25%) ⬆️
nipype/pipeline/plugins/tests/test_somaflow.py 50% <0%> (ø) ⬆️
nipype/interfaces/cmtk/parcellation.py 14.46% <0%> (ø) ⬆️
nipype/interfaces/cmtk/nbs.py 36.55% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_pbs.py 71.79% <0%> (ø) ⬆️
nipype/pipeline/plugins/tests/test_oar.py 71.05% <0%> (ø) ⬆️
nipype/info.py 84.61% <100%> (+0.24%) ⬆️
... and 10 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 4a0bd3d...9ced114. Read the comment docs.

@satra satra merged commit 6a8318f into nipy:master Sep 23, 2017
effigies added a commit to effigies/fmriprep that referenced this pull request Sep 23, 2017
@satra satra added this to the 0.14.0 milestone Oct 20, 2017
@satra satra deleted the fix/timeout branch October 30, 2017 15:16
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.

Master is broken At least some Nipype workflows fail with the dev version of networkx installed!
4 participants