From 9fdf07eb38853d0f33225327dca4598f88d1a326 Mon Sep 17 00:00:00 2001
From: Mark Jenkinson <mark@fmrib.ox.ac.uk>
Date: Fri, 18 Jun 2010 09:50:38 +0000
Subject: [PATCH] Added a bit of output

---
 fslascii2img.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fslascii2img.cc b/fslascii2img.cc
index 400db5f..42854eb 100644
--- a/fslascii2img.cc
+++ b/fslascii2img.cc
@@ -37,6 +37,7 @@ int do_work(int argc, char *argv[])
   amat = read_ascii_matrix(input_name);
   if (xsize*ysize*zsize*tsize != amat.Nrows() * amat.Ncols()) {
     cerr << "Sizes incompatible: " <<  xsize*ysize*zsize*tsize << " voxels vs " << amat.Nrows() * amat.Ncols() << " numbers" << endl;
+    cerr << "Matrix dimensions are " << amat.Nrows() << " by " << amat.Ncols() << endl;
     exit(EXIT_FAILURE);
   }
   amat = reshape(amat.t(),tsize,xsize*ysize*zsize);
-- 
GitLab