You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beast.tools.create_background_density_map no longer works, due to changes in photutils since v1.2.0. When adding background (as per Standard Workflow docs) using:
File "/home/cclark/soft/anaconda3/envs/beast-prod/lib/python3.7/site-packages/beast/tools/create_background_density_map.py", line 435, in measure_backgrounds
data_slices = list(ap_mask.bbox.slices)
AttributeError: 'BoundingBox' object has no attribute 'slices'
ap_mask is a photutils ApertureMask object, and looking at their documentation, the ApertureMask no longer has a method slices, as it was deprecated in Feb 2021 (v1.1.0) and removed in Sep 2021 (v1.2.0). There is a new method, get_overlap_slices; but it wants different inputs and produces different outputs
The text was updated successfully, but these errors were encountered:
beast.tools.create_background_density_map no longer works, due to changes in photutils since v1.2.0. When adding background (as per Standard Workflow docs) using:
I get a crash that boils down to:
ap_mask
is a photutilsApertureMask
object, and looking at their documentation, theApertureMask
no longer has a methodslices
, as it was deprecated in Feb 2021 (v1.1.0) and removed in Sep 2021 (v1.2.0). There is a new method,get_overlap_slices
; but it wants different inputs and produces different outputsThe text was updated successfully, but these errors were encountered: