Saving ref file from nii2dt.pl
When trying to run NeuroBattery (https://github.com/jeffduda/NeuroBattery) the script fails because it cannot find the *_ref.nii.gz file. This file is created when running averagedwi within nii2dt.pl, but is saved into the temporary directory, which is later deleted. Copying the file into the output directory seems to do the trick: system("cp $ref ${outputDir}/${outputFileRoot}ref.nii.gz");
can you make a pull request that implements your suggested fix?
brian
On Wed, Sep 2, 2015 at 7:42 PM, jashubbard [email protected] wrote:
When trying to run NeuroBattery (https://github.com/jeffduda/NeuroBattery) the script fails because it cannot find the *_ref.nii.gz file. This file is created when running averagedwi within nii2dt.pl, but is saved into the temporary directory, which is later deleted. Copying the file into the output directory seems to do the trick: system("cp $ref ${outputDir}/${outputFileRoot}ref.nii.gz");
— Reply to this email directly or view it on GitHub https://github.com/cookpa/pipedream/issues/2.
Done!
Thanks, Jason