Skip to content
Snippets Groups Projects
Commit 99f52c9f authored by Studer Gabriel's avatar Studer Gabriel
Browse files

correct name blaming

Dear rdkit developer, I owe you a beer
parent 080bbfa6
Branches
Tags
No related merge requests found
......@@ -57,8 +57,8 @@ namespace {
static String FormatEle(const String& ele) {
// OpenStructure has no strict requirements on lower or upper case
// for elements. However, some sdf readers (read: rdkit) want the first
// character to upper case, the rest in lower case.
// for elements. However, some sdf readers (read: OpenBabel) want the
// first character to upper case, the rest in lower case.
String return_ele = ele;
if(!return_ele.empty()) return_ele[0] = toupper(return_ele[0]);
for(size_t i = 1; i < return_ele.size(); ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment