Skip to content

Commit

Permalink
Merge pull request #1158 from ghutchis/fix-nih-resolver
Browse files Browse the repository at this point in the history
Fix requests to the NIH resolver to use new scheme
  • Loading branch information
ghutchis authored Aug 29, 2022
2 parents 4b0ea04 + edafe2e commit 289ff59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions avogadro/qtplugins/networkdatabases/networkdatabases.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ void NetworkDatabases::showDialog()
// services
m_network->get(QNetworkRequest(
QUrl("https://cactus.nci.nih.gov/chemical/structure/" + structureName +
"/sdf?get3d=true" +
"&resolver=name_by_opsin,name_by_cir,name_by_chemspider" +
"&requester=Avogadro2")));
"/file?format=sdf&get3d=true")));

m_moleculeName = structureName;
m_progressDialog->setLabelText(tr("Querying for %1").arg(structureName));
Expand Down

0 comments on commit 289ff59

Please sign in to comment.