Skip to content

Saving ref file from nii2dt.pl #2

Description

@jashubbard

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions