From 96ca0eec8bfce8f95ea1d36de7ede61f7c12e517 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 26 Sep 2016 15:16:59 +0200 Subject: Chembl URI fixed --- lib/compound.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compound.rb b/lib/compound.rb index 54a0364..deaace0 100644 --- a/lib/compound.rb +++ b/lib/compound.rb @@ -249,7 +249,7 @@ module OpenTox # @return [String] ChEMBL database compound id, derieved via restcall to chembl def chemblid # https://www.ebi.ac.uk/chembldb/ws#individualCompoundByInChiKey - uri = "http://www.ebi.ac.uk/chemblws/compounds/smiles/#{smiles}.json" + uri = "https://www.ebi.ac.uk/chemblws/compounds/smiles/#{smiles}.json" update(:chemblid => JSON.parse(RestClientWrapper.get(uri))["compounds"].first["chemblId"]) unless self["chemblid"] self["chemblid"] end -- cgit v1.2.3