From d61f78093f4ddf03c27a2c8ae0bab9c1f10c80f5 Mon Sep 17 00:00:00 2001 From: "helma@in-silico.ch" Date: Tue, 30 Oct 2018 17:26:59 +0100 Subject: tests fixed --- lib/compound.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/compound.rb') diff --git a/lib/compound.rb b/lib/compound.rb index 9c07626..8b4bb48 100644 --- a/lib/compound.rb +++ b/lib/compound.rb @@ -10,7 +10,6 @@ module OpenTox field :inchikey, type: String field :names, type: Array field :cid, type: String - #field :chemblid, type: String field :png_id, type: BSON::ObjectId field :svg_id, type: BSON::ObjectId field :sdf_id, type: BSON::ObjectId @@ -232,15 +231,6 @@ module OpenTox self["cid"] end -=begin - # Get ChEMBL database compound id, obtained via REST call to ChEMBL - # @return [String] - def chemblid - update(:chemblid => JSON.parse(RestClientWrapper.get(File.join CHEMBL_URI,URI.escape(smiles)+".json"))["molecule_chembl_id"]) - self["chemblid"] - end -=end - def db_neighbors min_sim: 0.2, dataset_id: #p fingerprints[DEFAULT_FINGERPRINT] # from http://blog.matt-swain.com/post/87093745652/chemical-similarity-search-in-mongodb -- cgit v1.2.3