From 996168c657f849dfc72669c961fcf85e2ee5f868 Mon Sep 17 00:00:00 2001 From: SungHo Lee Date: Thu, 4 Jun 2020 13:44:16 -0400 Subject: [PATCH] [release] #5 scan id --- brkraw/scripts/brkraw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brkraw/scripts/brkraw.py b/brkraw/scripts/brkraw.py index 5ab7b4b..4c6c657 100644 --- a/brkraw/scripts/brkraw.py +++ b/brkraw/scripts/brkraw.py @@ -155,8 +155,8 @@ def main(): try: scan_id = int(scan_id) reco_id = int(reco_id) - method = study._pvobj._method[scan_id].parameters['Method'] study.save_as(scan_id, reco_id, output_fname, slope=slope, offset=offset) + method = study._pvobj._method[scan_id].parameters['Method'] if re.search('dti', method, re.IGNORECASE): study.save_bdata(scan_id, output_fname) if args.bids: