diff --git a/autoconf/__init__.py b/autoconf/__init__.py index 53fc381..f70392e 100644 --- a/autoconf/__init__.py +++ b/autoconf/__init__.py @@ -7,4 +7,4 @@ from .json_prior.config import path_for_class from .json_prior.config import JSONPriorConfig -__version__ = "2025.5.7.3" \ No newline at end of file +__version__ = "2025.5.7.12" \ No newline at end of file diff --git a/autoconf/fitsable.py b/autoconf/fitsable.py index e22cc68..6631ce9 100644 --- a/autoconf/fitsable.py +++ b/autoconf/fitsable.py @@ -239,7 +239,7 @@ def ndarray_via_fits_from( Examples -------- - array_2d = numpy_array_2d_via_fits_from(file_path='/path/to/file/filename.fits', hdu=0) + array_2d = ndarray_via_fits_from(file_path='/path/to/file/filename.fits', hdu=0) """ hdu_list = fits.open(file_path, do_not_scale_image_data=do_not_scale_image_data) return ndarray_via_hdu_from(hdu_list[hdu]) @@ -268,7 +268,7 @@ def header_obj_from(file_path: Union[Path, str], hdu: int) -> Dict: Examples -------- - array_2d = numpy_array_2d_via_fits_from(file_path='/path/to/file/filename.fits', hdu=0) + array_2d = ndarray_via_fits_from(file_path='/path/to/file/filename.fits', hdu=0) """ hdu_list = fits.open(file_path) return hdu_list[hdu].header diff --git a/setup.cfg b/setup.cfg index f6b6095..6a5fb35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [aliases] -test=pytest \ No newline at end of file +test=pytest + +[metadata] +license_file = LICENSE \ No newline at end of file