pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

Saving ref file from nii2dt.pl

Open jashubbard opened this issue 10 years ago • 2 comments

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");

jashubbard avatar Sep 02 '15 23:09 jashubbard

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.

stnava avatar Sep 03 '15 13:09 stnava

Done!

Thanks, Jason

jashubbard avatar Sep 03 '15 19:09 jashubbard