bundles / astropy 7.0.1 / astropy / io / fits / hdu / hdulist / HDUList / _try_while_unread_hdus
function
astropy.io.fits.hdu.hdulist:HDUList._try_while_unread_hdus
source: /astropy/io/fits/hdu/hdulist.py :1262
Signature
def _try_while_unread_hdus ( self , func , * args , ** kwargs ) Summary
Attempt an operation that accesses an HDU by index/name that can fail if not all HDUs have been read yet. Keep reading HDUs until the operation succeeds or there are no more HDUs to read.
Aliases
-
astropy.io.fits.HDUList._try_while_unread_hdus