diff --git a/caom2utils/caom2utils/data_util.py b/caom2utils/caom2utils/data_util.py index 1bdd8801..264d15c1 100644 --- a/caom2utils/caom2utils/data_util.py +++ b/caom2utils/caom2utils/data_util.py @@ -359,7 +359,7 @@ def get_local_headers_from_fits(fqn): :param fqn str fully-qualified name of the FITS file on disk :return list of fits.Header instances """ - hdulist = fits.open(fqn, memmap=True, lazy_load_hdus=False) + hdulist = fits.open(fqn, memmap=True, lazy_load_hdus=True) hdulist.verify('fix') hdulist.close() headers = [h.header for h in hdulist] diff --git a/caom2utils/setup.cfg b/caom2utils/setup.cfg index d2647ae0..3f3d60f3 100644 --- a/caom2utils/setup.cfg +++ b/caom2utils/setup.cfg @@ -34,7 +34,7 @@ edit_on_github = False github_project = opencadc/caom2tools install_requires = cadcdata==2.0rc2 caom2>=2.4 astropy>=2.0 spherical-geometry>=1.2.11;python_version>="3.6" vos>=3.1.1 # version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386) -version = 1.6.2 +version = 1.6.3