Skip to content
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

ENH: raise exception if dcm2niix returns with non-0 code #695

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yarikoptic
Copy link
Member

@yarikoptic yarikoptic commented Jul 21, 2023

apparently we do not fail whenever dcm2niix fails. I think it might have been some change in behavior, may be in nipype?

apparently there is odd difference in nipype invocation of dcm2niix -- it doesn't fail whenever exits with 1: nipy/nipype#3592 .

TODOs:

  • remove pdb invocation
  • add a test

@codecov
Copy link

codecov bot commented Jul 21, 2023

Codecov Report

Patch coverage: 20.00% and project coverage change: -0.08 ⚠️

Comparison is base (83c8424) 82.00% compared to head (7904d46) 81.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
- Coverage   82.00%   81.93%   -0.08%     
==========================================
  Files          41       41              
  Lines        4130     4135       +5     
==========================================
+ Hits         3387     3388       +1     
- Misses        743      747       +4     
Impacted Files Coverage Δ
heudiconv/convert.py 84.71% <20.00%> (-0.83%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

1 participant