Closed rosali920 closed 6 years ago
If only saving one output from the model, runme.local throws the below error:
Error in results[, 1] : incorrect number of dimensions Calls: npointWriteOutputFiles Execution halted make: *** [model10001tstat-task.nii.gz] Error 1
This is thrown by npointWriteOutputFiles.R:
names <- attributes(results[,1])$names
When only one output, results does not have second dimension, hence the error. Adding a second output to the model seems to resolve this.
Throw an error:
retvals <- list(t.stat)
Works:
retvals <- list(t.stat,p)
duplicate from error reported in main repo
If only saving one output from the model, runme.local throws the below error:
This is thrown by npointWriteOutputFiles.R:
When only one output, results does not have second dimension, hence the error. Adding a second output to the model seems to resolve this.
Throw an error:
retvals <- list(t.stat)
Works:
retvals <- list(t.stat,p)