Skip to content

ENH: Do not override caught exceptions with FileNotFoundError from unfinished hashfile #2919

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 2 commits into from
Apr 20, 2019

Conversation

oesteban
Copy link
Contributor

This PR downgrades the situation to a debug trace. The rationale is that going through crash reports of fMRIPrep is really hard because this error shows up in a large portion of them.

This error (trying to remove the unfinished hashfile after some run time error has occurred) is likely to happen when two twin nipype workflows are competing in the same filesystem. Downgrading this to a debug trace will help split errors derived from race conditions and other errors.

@oesteban oesteban requested a review from effigies April 18, 2019 19:18
@codecov-io
Copy link

codecov-io commented Apr 18, 2019

Codecov Report

Merging #2919 into master will decrease coverage by 3.37%.
The diff coverage is 40%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2919      +/-   ##
=========================================
- Coverage   67.57%   64.2%   -3.38%     
=========================================
  Files         343     341       -2     
  Lines       43645   43599      -46     
  Branches     5428    5427       -1     
=========================================
- Hits        29494   27992    -1502     
- Misses      13447   14526    +1079     
- Partials      704    1081     +377
Flag Coverage Δ
#smoketests ?
#unittests 64.2% <40%> (-0.81%) ⬇️
Impacted Files Coverage Δ
nipype/pipeline/engine/nodes.py 77.57% <0%> (-6.96%) ⬇️
nipype/utils/filemanip.py 75.53% <50%> (-4.13%) ⬇️
nipype/interfaces/nilearn.py 40% <0%> (-56.67%) ⬇️
nipype/utils/spm_docs.py 25.92% <0%> (-44.45%) ⬇️
nipype/interfaces/freesurfer/base.py 50% <0%> (-30.51%) ⬇️
nipype/utils/logger.py 59.7% <0%> (-29.86%) ⬇️
nipype/algorithms/rapidart.py 35% <0%> (-29.42%) ⬇️
nipype/interfaces/spm/base.py 58.08% <0%> (-29.05%) ⬇️
nipype/utils/provenance.py 55.73% <0%> (-28.35%) ⬇️
nipype/interfaces/fsl/model.py 55.26% <0%> (-25.35%) ⬇️
... and 45 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 44ed184...6a0763c. Read the comment docs.

@oesteban
Copy link
Contributor Author

Thumbs-up?

@effigies
Copy link
Member

Lgtm.

@satra satra merged commit 3b21e66 into nipy:master Apr 20, 2019
@oesteban oesteban deleted the enh/robuster-node-tear-up branch April 20, 2019 05:22
@effigies effigies added this to the 1.2.0 milestone Apr 29, 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.

4 participants