Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library Functions
Submitted By: Ben Swerts (bswerts)
Assigned to: Nobody/Anonymous (nobody)
Summary: Static members of OBConversion never call LoadFormatFiles()
This is for OpenBabel 2.0.0:
Static functions OBConversion::GetNextFormat and
OBConversion::FindFormat need the following 2 lines
currently only present in the constructor of OBConversion:
if (FormatFilesLoaded == 0)
FormatFilesLoaded = LoadFormatFiles();
Otherwise these functions silently fail when no
OBConversion object was instantiated before.