OERecordToCSV
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OERecordToCSV
Converts an OEIsReadable file into a CSV file. Modifications such as
setting the delimiter type, ordering the OEField, and including
a molecule title can be set up through the OERecordToCSVOptions.
Constructors
OERecordToCSV() -> OERecordToCSV
Open
Open(path: str,
opts: OERecordToCSVOptions = OESaiph_OERecordToCSVOptions()) -> bool
Returns a boolean based on whether the file can be opened. OERecordToCSVOptions is set at open.
Write
Write(path: str) -> bool
Write(ofs: oeostream) -> bool
Writes the CSV to a file path or into a stream.