Skip to content

Commit

Permalink
Merge pull request #1829 from ghutchis/orca-chelpg
Browse files Browse the repository at this point in the history
Parse CHELPG charges from Orca output too
  • Loading branch information
ghutchis authored Nov 30, 2024
2 parents 2ab9f8a + 369a8f2 commit fedca00
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions avogadro/quantumio/orca.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ void ORCAOutput::processLine(std::istream& in, GaussianSet* basis)
for (unsigned int i = 0; i < 9; ++i) {
getline(in, key); // skip header
}
} else if (Core::contains(key, "CHELPG Charges")) {
// similar to standard charges
m_currentMode = Charges;
m_chargeType = "CHELPG";
getline(in, key); // skip ------------
} else if (Core::contains(key, "ATOMIC CHARGES")) {
m_currentMode = Charges;
// figure out what type of charges we have
Expand Down

0 comments on commit fedca00

Please sign in to comment.