diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-09-26 16:20:37 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-09-26 16:20:37 +0200 |
commit | 2c54492126a501bd67ad59ef34792d0676396805 (patch) | |
tree | 83f52f73903b83976de53e9aa5e0e7d8c66a0a6c | |
parent | 082638e0abbb48316553e02957a24823b18289c9 (diff) |
pubchem uri fixedathens-workshop
-rw-r--r-- | lib/compound.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |