Source code for nd2reader.exceptions

[docs]class InvalidVersionError(Exception): """Unknown version. We don't know how to parse the version of ND2 that we were given. """ pass
[docs]class NoImageError(Exception): """No image found. Some apparent images in ND2s are just completely blank placeholders. These are used when the number of images per cycle are unequal (e.g. if you take fluorescent images every 2 minutes, and bright field images every minute). """ pass
[docs]class EmptyFileError(Exception): """This .nd2 file seems to be empty. Raised if no axes are found in the file. """