82c63c208dd9cf501685585949b470891dad9bfb,pynets/utils.py,,reorient_img,#Any#Any#,742
Before Change
else:
print("Radiological (img)...")
img_orig = img
img = "{}/img.nii.gz".format(out_dir)
shutil.copyfile(img_orig, img)
cmd = "fslorient -getqform " + img
qform = os.popen(cmd).read().strip("\n")
// Posterior-Anterior Reorientation
After Change
cmd = "fslorient -getorient " + img
orient = os.popen(cmd).read().strip("\n")
img_orig = img
img = "{}/{}_pre_reor.nii.gz".format(out_dir, img.split("/")[-1].split(".nii.gz")[0])
shutil.copyfile(img_orig, img)
cmd = "fslorient -getqform " + img
qform = os.popen(cmd).read().strip("\n")
if orient == "NEUROLOGICAL":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: dPys/PyNets
Commit Name: 82c63c208dd9cf501685585949b470891dad9bfb
Time: 2019-06-05
Author: dpisner@utexas.edu
File Name: pynets/utils.py
Class Name:
Method Name: reorient_img
Project Name: EpistasisLab/penn-ml-benchmarks
Commit Name: dad5e0183c018099083aa9d683372a1344baee13
Time: 2020-05-14
Author: williamlacava@gmail.com
File Name: tests/test_metadata.py
Class Name:
Method Name: test_dataset
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: ee20b930408375dce3a59ab22f6ba1316baecaed
Time: 2019-04-04
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAUtil/QALogs.py
Class Name:
Method Name: