Skip to content

Commit

Permalink
Add verbose to b1 header script
Browse files Browse the repository at this point in the history
  • Loading branch information
karp2601 authored and karp2601 committed Feb 20, 2024
1 parent 2d33da1 commit 04770cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/scil_mti_adjust_B1_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import argparse
import json
import logging

import nibabel as nib

Expand Down Expand Up @@ -34,9 +35,9 @@ def _build_arg_parser():
def main():
parser = _build_arg_parser()
args = parser.parse_args()
logging.getLogger().setLevel(logging.getLevelName(args.verbose))

assert_outputs_exist(parser, args, args.out_B1_map)

assert_inputs_exist(parser, (args.in_B1_map, args.in_B1_json))

with open(args.in_B1_json) as curr_json:
Expand Down

0 comments on commit 04770cc

Please sign in to comment.