diff options
Diffstat (limited to 'src/mrc.c')
-rw-r--r-- | src/mrc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -56,6 +56,7 @@ int mrc_read(ControlContext *ctx) { /* Read all extended headers, one by one */ extsize = 4*mrc.numintegers + 4*mrc.numfloats; + printf("extsize=%d numintegers=%d numfloats=%d\n",extsize,mrc.numintegers,mrc.numfloats); if ( extsize > sizeof(MRCExtHeader) ) { fclose(fh); fprintf(stderr, "MR: MRC extended header is too big - tweak mrc.h\n"); @@ -69,7 +70,7 @@ int mrc_read(ControlContext *ctx) { printf("pixel_size=%f\n", pixel_size); nx = mrc.nx; ny = mrc.ny; - nz = (mrc.nx > mrc.ny)?mrc.nx:mrc.ny; + nz = (mrc.nx > mrc.ny)?mrc.nx:mrc.ny; //isn't this the number of images? ie usually less than nx or ny sx = nx * pixel_size; sy = ny * pixel_size; sz = nz * pixel_size; @@ -108,6 +109,7 @@ int mrc_read(ControlContext *ctx) { } } imagedisplay_mark_point(sum_id, max_x, max_y); + printf("max_x=%d max_y=%d\n",max_x,max_y); ctx->x_centre = max_x; ctx->y_centre = max_y; |