Skip to content

Saving ref file from nii2dt.pl #2

@jashubbard

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

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