-
Notifications
You must be signed in to change notification settings - Fork 30
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
Error while parsing partially saved nd2 files #23
Comments
Dear @bellonet thank you for reporting this. Because there is no description of the 'standard' ND2 format, it is non-trivial to fix this issue. However, because it is apparently working with the Bioformats plugin for ImageJ, it can be done. |
Hi, just dropping a line here in case it might help. I have had some experience with broken nd2 files when the file transfer from the server got interrupted. It is true that the nd2 file is opened by ImageJ (or FIJI), but at least for my cases the single stacks where all jumbled up together. I.e., the beginning of the second was in the end of the first and so on, or viceversa. I am not sure whether it is worth investing time in rescuing these files without Nikon's help (imho). |
Hi! Just wondering if there has been any updates on this issue or plans to address it in the future? Thank you! |
The reader works well for most nd2 files, however some of my nd2 files are not parsed correctly and I get an error:
EmptyFileError: No axes were found for this .nd2 file.
I think the error occurs during parsing from the end of the file (in
_build_label_map
):where for the files that fail: chunk_map_start_location is assigned to 0.
I suspect that this happens with nd2 files that had an error during acquisition, so the end of the file might be corrupt. However, since nd2 files hold multiple images it means that there are many valuable images in the same file.
The bioimage reader in ImageJ parses and opens those (maybe corrupt) files correctly.
I will be happy to send you an example file, the smallest I have that fails is ~8GB.
The text was updated successfully, but these errors were encountered: