From 2c54492126a501bd67ad59ef34792d0676396805 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 26 Sep 2016 16:20:37 +0200 Subject: pubchem uri fixed --- lib/compound.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compound.rb b/lib/compound.rb index deaace0..4689d7a 100644 --- a/lib/compound.rb +++ b/lib/compound.rb @@ -241,7 +241,7 @@ module OpenTox # @return [String] PubChem Compound Identifier (CID), derieved via restcall to pubchem def cid - pug_uri = "http://pubchem.ncbi.nlm.nih.gov/rest/pug/" + pug_uri = "https://pubchem.ncbi.nlm.nih.gov/rest/pug/" update(:cid => RestClientWrapper.post(File.join(pug_uri, "compound", "inchi", "cids", "TXT"),{:inchi => inchi}).strip) unless self["cid"] self["cid"] end -- cgit v1.2.3