IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2004, 1:37:39 PM (22 years ago)
Author:
desonia
Message:

found the server astyle upgrade was faulty, so the format was reset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImageIO.c

    r1301 r1385  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-07-27 23:09:23 $
     9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-08-04 23:37:39 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    303303                        extnum, numHDUs);
    304304                return false;
    305             } else if (numHDUs == extnum) {
    306                 createNewHDU = true;
    307             } else if (fits_movabs_hdu(fptr, extnum+1, &hduType, &status) != 0) {
    308                 fits_get_errstatus(status, fitsErr);
    309                 status = 0;
    310                 (void)fits_close_file(fptr, &status);
    311                 psError(__func__,"Could not index to HDU #%d for file %s. (%s)",
    312                         extnum, filename, fitsErr);
    313                 return false;
    314             }
     305            } else
     306                if (numHDUs == extnum) {
     307                    createNewHDU = true;
     308                } else
     309                    if (fits_movabs_hdu(fptr, extnum+1, &hduType, &status) != 0) {
     310                        fits_get_errstatus(status, fitsErr);
     311                        status = 0;
     312                        (void)fits_close_file(fptr, &status);
     313                        psError(__func__,"Could not index to HDU #%d for file %s. (%s)",
     314                                extnum, filename, fitsErr);
     315                        return false;
     316                    }
    315317        }
    316318
Note: See TracChangeset for help on using the changeset viewer.