Skip to content

Commit

Permalink
Merge pull request #18 from NOEL-MNI/fix_native_resampling
Browse files Browse the repository at this point in the history
fix dimensions on projecting from MNI to native space
  • Loading branch information
ravnoor authored Sep 18, 2023
2 parents b45267c + 5b89a47 commit 882fada
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@

args.t1 = os.path.join(args.outdir, args.t1_fname)
args.t2 = os.path.join(args.outdir, args.t2_fname)

args.t1_orig, args.t2_orig = args.t1, args.t2

cwd = os.path.realpath(os.path.dirname(__file__))

if bool(args.brain_masking):
Expand Down Expand Up @@ -176,7 +179,7 @@

files = [args.t1, args.t2]

orig_files = {"T1": args.t1, "FLAIR": args.t2}
orig_files = {"T1": args.t1_orig, "FLAIR": args.t2_orig}

transform_files = [t1_transform, t2_transform]
# files = {}
Expand Down

0 comments on commit 882fada

Please sign in to comment.