The DP1 103.4 tutorial (image cutouts) has the following cell:
fits.info(sodaCutout)
sodaCutout_small = os.path.join(tempdir, ‘cutout-circle_small.fits’)
afwDisplay.writeFitsImage(sodaCutout_small,
exposure.maskedImage,
wcs=exposure.wcs)
but there is no fits. I added
from astropy.io import fits
and now the uncommented version works fine, so I think that import statement needs to be added.