diff --git a/avogadro/qtplugins/forcefield/forcefield.cpp b/avogadro/qtplugins/forcefield/forcefield.cpp index 588686aeeb..70bf78172f 100644 --- a/avogadro/qtplugins/forcefield/forcefield.cpp +++ b/avogadro/qtplugins/forcefield/forcefield.cpp @@ -492,12 +492,9 @@ void Forcefield::refreshScripts() qDeleteAll(m_scripts); m_scripts.clear(); - qDebug() << " refresh scripts"; - QMultiMap scriptPaths = QtGui::ScriptLoader::scriptList("energy"); foreach (const QString& filePath, scriptPaths) { - qDebug() << "Loading script: " << filePath; auto* model = new ScriptEnergy(filePath); if (model->isValid()) m_scripts.push_back(model); diff --git a/avogadro/qtplugins/forcefield/scriptenergy.cpp b/avogadro/qtplugins/forcefield/scriptenergy.cpp index 18ada9f171..1a117b94a2 100644 --- a/avogadro/qtplugins/forcefield/scriptenergy.cpp +++ b/avogadro/qtplugins/forcefield/scriptenergy.cpp @@ -122,10 +122,9 @@ Real ScriptEnergy::value(const Eigen::VectorXd& x) QString::number(x[i + 1]).toUtf8() + " " + QString::number(x[i + 2]).toUtf8() + "\n"; } - qDebug() << " wrote coords "; + // qDebug() << " wrote coords "; QByteArray result = m_interpreter->asyncWriteAndResponse(input); - - qDebug() << " got result " << result; + // qDebug() << " got result " << result; // go through lines in result until we see "AvogadroEnergy: " QStringList lines = QString(result).remove('\r').split('\n'); @@ -263,7 +262,6 @@ void ScriptEnergy::readMetaData() .arg(scriptFilePath()) << "\n" << parseError.errorString(); - qWarning() << output; return; }