Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken JSON metadata blocks file loading #98

Open
tlnagy opened this issue Jul 21, 2022 · 0 comments
Open

Broken JSON metadata blocks file loading #98

tlnagy opened this issue Jul 21, 2022 · 0 comments
Labels

Comments

@tlnagy
Copy link
Owner

tlnagy commented Jul 21, 2022

I need to thoroughly diagnose this, but I have multiple MicroManager images that have broken embedded JSON comments that cause the loading to come to a screeching halt at

metadata = JSON.parse(String(metadata_bytes))

Examples (for later reference) include

/mnt/eurekapool/data/2022/220720_fxm_collagen_minimalprocess/exp2_collagen_fxm_chemotaxis_1/exp2_collagen_fxm_chemotaxis_1_MMStack.ome.tif

While the longer term fix is clearly to identify why this is happening, the shorter term fix is to abort and throw a warning. This is solely for nice-to-have metadata and is fine if it can't be read.

@tlnagy tlnagy added the bug label Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant