{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / hdu / hdulist / HDUList / flush

function

astropy.io.fits.hdu.hdulist:HDUList.flush

source: /astropy/io/fits/hdu/hdulist.py :875

Signature

def   flush ( self output_verify = fix verbose = False )

Summary

Force a write of the HDUList back to the file (for append and update modes only).

Parameters

output_verify : str

Output verification option. Must be one of "fix", "silentfix", "ignore", "warn", or "exception". May also be any combination of "fix" or "silentfix" with "+ignore", +warn, or +exception" (e.g. ``"fix+warn"). See astropy:verify for more info.

verbose : bool

When True, print verbose messages

Aliases

  • astropy.io.fits.HDUList.flush