Closed mcoughlin closed 1 year ago
https://github.com/karpov-sv/stdpipe/blob/master/stdpipe/photometry.py#L806
I get:
bg_vals = bg_mask.multiply(image1)[bg_mask.data > 0]
TypeError: 'NoneType' object is not subscriptable
I know it works sometimes, but should do some handling, i.e. check that bg_mask.multiply(image1) is not None and then get the array.
Care to provide specific use case when this error is triggered?..
Hopefully fixed in c89152decb6664896b0bc614f5eeed52816ab27f, please check.
@karpov-sv yes it passed, thanks!
https://github.com/karpov-sv/stdpipe/blob/master/stdpipe/photometry.py#L806
I get:
TypeError: 'NoneType' object is not subscriptable
I know it works sometimes, but should do some handling, i.e. check that bg_mask.multiply(image1) is not None and then get the array.