-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When specifying fwhm = 0, the corresponding qcache files are not found. QDECR by default tries to put in fwhm0 into the file names, but unsmoothed qcache output simply does not contain the fwhm part:
fwhm = 10: lh.thickness.fwhm10.fsaverage.mgh
fwhm = 0: lh.thickness.fsaverage.mgh
The problem arises in this line of code:
new_files <- file.path(input_path, files_list, "surf", paste(hemi, measure, fwhmc, target, "mgh", sep = "."))
Where the fwhmc part needs to be made optional:
new_files <- file.path(input_path, files_list, "surf", paste(hemi, measure, if (fwhm > 0) {fwhmc}, target, "mgh", sep = "."))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working