Mercurial > repos > greg > diffusion_signal_reconstruction
diff diffusion_signal_reconstruction.py @ 10:7bcc39c8ccfd draft
Uploaded
author | greg |
---|---|
date | Thu, 30 Nov 2017 08:51:01 -0500 |
parents | dc700deb06c1 |
children | bca3ded6d5cc |
line wrap: on
line diff
--- a/diffusion_signal_reconstruction.py Thu Nov 30 08:30:06 2017 -0500 +++ b/diffusion_signal_reconstruction.py Thu Nov 30 08:51:01 2017 -0500 @@ -54,10 +54,8 @@ # TODO: do not hard-code 'stanford_hardi' input_dir = 'stanford_hardi' os.mkdir(input_dir) -input_dir = args.drmi_dataset for f in os.list_dir(args.input_extra_files_path): - shutil.copy(f, input_dir) -fetch_stanford_hardi() + shutil.copy(os.path.join(args.input_extra_files_path, f), input_dir) img, gtab = read_stanford_hardi() data = img.get_data()