Skip to content

Commit

Permalink
Merge pull request #1906 from ghutchis/xtb-log-file
Browse files Browse the repository at this point in the history
Add xtbopt.log files (really XYZ) to the generic reader
  • Loading branch information
ghutchis authored Dec 30, 2024
2 parents 18f9fa6 + c4fa738 commit 6793da4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions avogadro/quantumio/genericoutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <avogadro/io/fileformat.h>
#include <avogadro/io/fileformatmanager.h>
#include <avogadro/io/xyzformat.h>

#include "gamessus.h"
#include "molden.h"
Expand Down Expand Up @@ -59,6 +60,10 @@ bool GenericOutput::read(std::istream& in, Core::Molecule& molecule)
// ORCA reader
reader = new ORCAOutput;
break;
} else if (line.find("xtb:") != std::string::npos) {
// xtb reader
reader = new Io::XyzFormat;
break;
}
}

Expand Down

0 comments on commit 6793da4

Please sign in to comment.