lgrcia / prose

Modular image processing pipelines with Python. Built for Astronomy.
https://prose.readthedocs.io
MIT License
54 stars 11 forks source link

Image stored in Image don't load #96

Open lgrcia opened 1 year ago

lgrcia commented 1 year ago

version 3.1.0

When saving an image in which Image.epsf is an Image, the Image.epsf is not loaded

Temporary solution

To load manually any Image in the Image.computed, like:

image = Image.load("...")
image.epsf = Image(**image.epsf)

Possible fix

recursive function in Image.load