Open cryos opened 13 years ago
Original comment by: @baoilleach
I see,
// Sanity check // Currently disabled -- GAMESS does weird things. // if (displacementVectors.size() != m_molecule->numAtoms()) { // QMessageBox::warning(m_widget, tr("Vibrational Analysis"), tr("The computed vibrations do not match this molecule.")); // return; // }
For your molecule, in the debugger it looks like displacementVectors (from Open Babel) is of zero size. It looks like we should at least check that vector is bigger that the number of atoms (although I am not sure in which case it would be a different size).
Original comment by: @cryos
Adding back in that check prevents the crash, I think this will need fixing in Open Babel before we can actually display the vibrations in Avogadro.
Original comment by: @cryos
Bump. I confirm the crash with latest OB and Avogadro master.
Original comment by: @ghutchis
If you open the attached GAMESS US file under Win7 with Avo 1.0.1 and click on Extensions/Vibrations it will segfault.
Reported by: @baoilleach