diff --git a/LICENSE b/LICENSE index ac029c6..a1e0344 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2017-2024, Vicente Rodriguez-Gomez +Copyright (c) 2017-2025, Vicente Rodriguez-Gomez All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/docs/conf.py b/docs/conf.py index 1dc53c6..4253ec1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,11 +18,11 @@ # -- Project information ----------------------------------------------------- project = 'statmorph' -copyright = '2017-2024, Vicente Rodriguez-Gomez' +copyright = '2017-2025, Vicente Rodriguez-Gomez' author = 'Vicente Rodriguez-Gomez' # The full version, including alpha/beta/rc tags -release = '0.6.0' +release = '0.6.1' # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index 39626c0..fb50900 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name='statmorph', - version='0.6.0', + version='0.6.1', description='Non-parametric morphological diagnostics of galaxy images', long_description=long_description, url='https://github.com/vrodgom/statmorph', @@ -34,7 +34,7 @@ 'scikit-image>=0.25.0', 'astropy>=2.0', 'photutils>=0.7'], - python_requires='>=3.7', + python_requires='>=3.9', extras_require={ 'matplotlib': ['matplotlib>=3.0']}, ) diff --git a/statmorph/statmorph.py b/statmorph/statmorph.py index 59b90b1..9cb986d 100644 --- a/statmorph/statmorph.py +++ b/statmorph/statmorph.py @@ -36,7 +36,7 @@ '__version__', ] -__version__ = '0.6.0' +__version__ = '0.6.1' # A list of the quantities calculated by SourceMorphology, # excluding the double Sersic parameters: @@ -1006,7 +1006,7 @@ def _mask_stamp(self): if self._n_sigma_outlier > 0: mask_stamp_badpixels = self._get_badpixels( self._image[self._slice_stamp]) - self.num_badpixels = np.sum(mask_stamp_badpixels) + self.num_badpixels = int(np.sum(mask_stamp_badpixels)) segmap_stamp = self._segmap.data[self._slice_stamp] mask_stamp = (segmap_stamp != 0) & (segmap_stamp != self.label)