Skip to content

Commit

Permalink
check if input are compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Jan 9, 2025
1 parent c352faf commit dc61176
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/scil_NODDI_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
add_verbose_arg,
assert_inputs_exist,
assert_output_dirs_exist_and_empty,
assert_headers_compatible,
redirect_stdout_c, add_tolerance_arg,
add_skip_b0_check_arg)
from scilpy.gradients.bvec_bval_tools import (check_b0_threshold,
Expand Down Expand Up @@ -112,6 +113,8 @@ def main():

assert_output_dirs_exist_and_empty(parser, args, args.out_dir,
optional=args.save_kernels)

assert_headers_compatible(parser, args.in_dwi, optional=args.mask)

# Generate a scheme file from the bvals and bvecs files
bvals, _ = read_bvals_bvecs(args.in_bval, args.in_bvec)
Expand Down

0 comments on commit dc61176

Please sign in to comment.