Objects of this class can be used as context managers and as file-like
objects (with a .write() method) to write ligands while abstracting away
job-dependent aspects such as compression and file headers.
This is low-level writing; the "ligand" passed by the caller
is nothing but a string. The motivation is to be able to efficiently dump
ligand blobs from the database without having to do a round-trip
conversion.
|
__init__(self,
job,
filename)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
|
|
|
writeHeader(self,
filename) |
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|