Skip to content

Commit

Permalink
Version 0.6.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrodgom committed Jan 2, 2025
1 parent 0ab4f5d commit d1b1d2f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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']},
)
4 changes: 2 additions & 2 deletions statmorph/statmorph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d1b1d2f

Please sign in to comment.