Package schrodinger :: Package application :: Package desmond :: Module ffiostructure :: Class CMSReader
[hide private]
[frames] | no frames]

Class CMSReader

A class for reading structures from a CMS format file.

Instance Methods [hide private]
 
__init__(self, filename, index=1, error_handler=None, input_string=None)
Initialize with a filename, an optional starting index (default of 1) and optional error_handler (default of mm.error_handler).
 
__del__(self)
 
close(self)
Close the file.
 
__iter__(self)
 
next(self)
Return the next FFIOStructure object from the file.
Class Variables [hide private]
  read_mode = mm.M2IO_READ_FORWARD
Method Details [hide private]

next(self)

 

Return the next FFIOStructure object from the file. Set self.last_position to the file offset just before it was read.