Skip to content

dedicated test and file#226

Open
burnout87 wants to merge 4 commits into
masterfrom
denumpify-issue
Open

dedicated test and file#226
burnout87 wants to merge 4 commits into
masterfrom
denumpify-issue

Conversation

@burnout87
Copy link
Copy Markdown
Contributor

No description provided.

@burnout87
Copy link
Copy Markdown
Contributor Author

the test

def test_denumpyfy_mosaic_fits():
from oda_api.data_products import NumpyDataProduct, ImageDataProduct
mosaic_prod = NumpyDataProduct.from_fits_file(
os.path.join(os.path.dirname(__file__), 'test_data/clean_mosaic_sognificance.fits.gz'), name="Graphic image")
mosaic_prod_dumped = json.dumps(denumpyfy(mosaic_prod), cls=CustomJSONEncoder)
prod_image_decoded = ImageDataProduct.decode(mosaic_prod_dumped)

reproduces the issue

@burnout87 burnout87 linked an issue Jan 15, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue in the cell for the glueing

2 participants