MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / lowercase

Function lowercase

Lattice/Scripting/ScriptAPI.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace {
14
15std::string lowercase(std::string value) {
16 std::transform(value.begin(), value.end(), value.begin(),
17 [](unsigned char ch) { return static_cast<char>(std::tolower(ch)); });
18 return value;
19}
20
21std::string normalizeAtomSymbol(std::string value) {
22 value = lowercase(std::move(value));

Callers 2

normalizeAtomSymbolFunction · 0.70
loadMoleculesFromMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected