Loading src/makeit.c +4 −1 Original line number Diff line number Diff line Loading @@ -304,7 +304,6 @@ void makeit() nok = 0; for (ntab = 0 ; ntab<ntabmax; ntab++, imatab = imatab->nexttab) { printf("matab->naxis %d\ imatab->xtension = %s compressed? %d\n", imatab->naxis, imatab->xtension, imatab->isTileCompressed); /*-- Check for the next valid image extension */ if (!forcextflag && ((imatab->naxis < 2) || !strncmp(imatab->xtension, "BINTABLE", 8) Loading Loading @@ -692,6 +691,10 @@ static int selectext(char *filename) if ((bracr=strrchr(bracl+1, ']'))) *bracr = '\0'; next = strtol(bracl+1, NULL, 0); // VERY BAD HACK to check if this is tile-compressed, if so, add +1 to extension number requested if (strstr(filename, ".fits.fz") != NULL) next = next + 1; return next; } Loading Loading
src/makeit.c +4 −1 Original line number Diff line number Diff line Loading @@ -304,7 +304,6 @@ void makeit() nok = 0; for (ntab = 0 ; ntab<ntabmax; ntab++, imatab = imatab->nexttab) { printf("matab->naxis %d\ imatab->xtension = %s compressed? %d\n", imatab->naxis, imatab->xtension, imatab->isTileCompressed); /*-- Check for the next valid image extension */ if (!forcextflag && ((imatab->naxis < 2) || !strncmp(imatab->xtension, "BINTABLE", 8) Loading Loading @@ -692,6 +691,10 @@ static int selectext(char *filename) if ((bracr=strrchr(bracl+1, ']'))) *bracr = '\0'; next = strtol(bracl+1, NULL, 0); // VERY BAD HACK to check if this is tile-compressed, if so, add +1 to extension number requested if (strstr(filename, ".fits.fz") != NULL) next = next + 1; return next; } Loading