Skip to content

Commit

Permalink
Change calls to animaComputeDTIScalarMaps into animaDTIScalarMaps
Browse files Browse the repository at this point in the history
  • Loading branch information
todurante committed Dec 13, 2021
1 parent e425047 commit 4c7160e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions atlasing/dti/animaMergeDTImages.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
animaImageArithmetic = os.path.join(animaDir,"animaImageArithmetic")
animaTransformSerieXmlGenerator = os.path.join(animaDir,"animaTransformSerieXmlGenerator")
animaTensorApplyTransformSerie = os.path.join(animaDir,"animaTensorApplyTransformSerie")
animaComputeDTIScalarMaps = os.path.join(animaDir,"animaComputeDTIScalarMaps")
animaDTIScalarMaps = os.path.join(animaDir,"animaDTIScalarMaps")
animaThrImage = os.path.join(animaDir,"animaThrImage")
animaMaskImage = os.path.join(animaDir,"animaMaskImage")

Expand Down Expand Up @@ -111,7 +111,7 @@
call(command)
myfileImages.write(os.path.join("tempDir", args.prefix + "_" + str(a) + "_at.nrrd\n"))

command = [animaComputeDTIScalarMaps,"-i",os.path.join("tempDir",args.prefix + "_" + str(a) + "_at.nrrd"),
command = [animaDTIScalarMaps,"-i",os.path.join("tempDir",args.prefix + "_" + str(a) + "_at.nrrd"),
"-a",os.path.join("tempDir",args.prefix + "_" + str(a) + "_at_ADC.nrrd")]
call(command)

Expand Down
6 changes: 3 additions & 3 deletions atlasing/dti/animaRegisterDTImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
os.chdir(args.ref_dir)
basePrefBase = os.path.dirname(args.prefix_base)

animaComputeDTIScalarMaps = os.path.join(animaDir,"animaComputeDTIScalarMaps")
animaDTIScalarMaps = os.path.join(animaDir,"animaDTIScalarMaps")
animaCreateImage = os.path.join(animaDir,"animaCreateImage")
animaMaskImage = os.path.join(animaDir,"animaMaskImage")
animaThrImage = os.path.join(animaDir,"animaThrImage")
Expand All @@ -55,12 +55,12 @@
filesExtension = args.files_extension

# Extract DTI scalar map
command = [animaComputeDTIScalarMaps,
command = [animaDTIScalarMaps,
"-i", os.path.join(args.prefix_base, args.prefix + "_" + str(args.num_image) + filesExtension),
"-a", os.path.join(args.prefix_base, args.prefix + "_" + str(args.num_image) + "_ADC.nrrd")]
call(command)

command = [animaComputeDTIScalarMaps, "-i", args.ref_image, "-a",
command = [animaDTIScalarMaps, "-i", args.ref_image, "-a",
os.path.join(basePrefBase, "tempDir", args.prefix + "_" + str(args.num_image) + "_ref_ADC.nrrd")]
call(command)

Expand Down

0 comments on commit 4c7160e

Please sign in to comment.