def __init__(self, image_file, **kwargs): '''Initialise the image structure from the given file.''' from dxtbx import IncorrectFormatError if not self.understand(image_file): raise IncorrectFormatError(self, image_file) FormatPYunspecified.__init__(self, image_file, **kwargs)
def __init__(self, image_file): '''Initialise the image structure from the given file.''' assert(self.understand(image_file)) FormatPYunspecified.__init__(self, image_file)
def __init__(self, image_file, **kwargs): '''Initialise the image structure from the given file.''' assert (self.understand(image_file)) FormatPYunspecified.__init__(self, image_file, **kwargs)