예제 #1
0
파일: saltio.py 프로젝트: apodemus/pysalt3
def updatefits(struct,logfile):

    status = 0
    try:
        struct.flush()
    except:
        message = 'ERROR -- SALTIO.UPDATEFITS: cannot update FITS file'
        status = saltprint.err(logfile,message)
    return status
예제 #2
0
def updatefits(struct,logfile):

    status = 0
    try:
        struct.flush()
    except:
        message = 'ERROR -- SALTIO.UPDATEFITS: cannot update FITS file'
        status = saltprint.err(logfile,message)
    return status
예제 #3
0
def updatefits(struct):
    """update existing FITS file"""
    try:
        struct.flush()
    except:
        raise SaltIOError('Cannot update FITS file')
예제 #4
0
def updatefits(struct):
    """update existing FITS file"""
    try:
        struct.flush()
    except:
        raise SaltIOError('Cannot update FITS file')