Hi - thanks - urgh, I guess we need to use eg prime factors (for x and y dim). We do that all the time for writing out large 2D matrices for feeding into MELODIC. Cheers. > On 19 Jul 2018, at 15:12, Anders Eklund <[log in to unmask]> wrote: > > Hello, > > I may have found a bug in the function "nets_glm" in FSLNets. If I run the analysis with 181 nodes/parcels everything works fine, but for 182 or greater the temporarily created nifti file (used by randomise) is of size 1 x 1 x 1 x N (N = number of subjects) instead of 33124 x 1 x 1 x N. I suspect that this bug is due to integer overflow of the X dimension of the nifti file header, since 181 * 181 = 32761 (i.e. smaller than 32768) and 182 * 182 = 33124 (i.e. larger than 32768). > > - Anders > > To unsubscribe from the FSL list, click the following link: > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1 <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1> --------------------------------------------------------------------------- Stephen M. Smith, Professor of Biomedical Engineering Head of Analysis, WIN (FMRIB) Oxford FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve <http://www.fmrib.ox.ac.uk/~steve> --------------------------------------------------------------------------- Stop the cultural destruction of Tibet <http://smithinks.net/> ######################################################################## To unsubscribe from the FSL list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1