Skip to content

Commit

Permalink
Fixed bug for multiple runs
Browse files Browse the repository at this point in the history
  • Loading branch information
wanderine committed May 4, 2017
1 parent 3042819 commit 5e082ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/Bash_Wrapper/FirstLevelAnalysis.cpp
Expand Up @@ -3262,7 +3262,10 @@ int main(int argc, char **argv)
//----------------------------

// Create new nifti image
nifti_image *outputNiftifMRI = nifti_copy_nim_info(inputfMRI);
nifti_image *outputNiftifMRI = nifti_copy_nim_info(inputfMRI);
outputNiftifMRI->nt = EPI_DATA_T;
outputNiftifMRI->dim[4] = EPI_DATA_T;
outputNiftifMRI->nvox = EPI_DATA_W * EPI_DATA_H * EPI_DATA_D * EPI_DATA_T;
allNiftiImages[numberOfNiftiImages] = outputNiftifMRI;
numberOfNiftiImages++;

Expand Down
Binary file modified compiled/Bash/Linux/Release/FirstLevelAnalysis
Binary file not shown.

0 comments on commit 5e082ae

Please sign in to comment.