Skip to content

Commit

Permalink
Fixing compute_snr
Browse files Browse the repository at this point in the history
  • Loading branch information
karanphil committed Feb 15, 2024
1 parent 33d1e98 commit 7fe2814
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/scil_dwi_compute_snr.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ def _build_arg_parser():
def main():
parser = _build_arg_parser()
args = parser.parse_args()
logging.getLogger().setLevel(logging.getLevelName(args.verbose))
if args.verbose == "WARNING":
logging.getLogger().setLevel(logging.INFO)
else:
logging.getLogger().setLevel(logging.getLevelName(args.verbose))

assert_inputs_exist(parser, [args.in_dwi, args.in_bval,
args.in_bvec, args.in_mask],
Expand Down

0 comments on commit 7fe2814

Please sign in to comment.