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()=default
Open
bool Open(const std::string &path,
const OERecordToCSVOptions &opts=OERecordToCSVOptions())
Returns a boolean based on whether the file can be opened. OERecordToCSVOptions is set at open.
Write
bool Write(const std::string &path)
bool Write(OEPlatform::oeostream &ofs)
Writes the CSV to a file path or into a stream.