You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
589 B

class InvalidVersionError(Exception):
"""Unknown version.
We don't know how to parse the version of ND2 that we were given.
"""
pass
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
class EmptyFileError(Exception):
"""This .nd2 file seems to be empty.
Raised if no axes are found in the file.
"""