summaryrefslogtreecommitdiff
path: root/lib/compound.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2013-01-23 12:53:43 +0100
committerChristoph Helma <helma@in-silico.ch>2013-01-23 12:53:43 +0100
commit147e1b7351975f19697e1e6ff4a6106fd38174ae (patch)
treebfae2caf360efdc9631a376f4341a9b9c3ecbf7b /lib/compound.rb
parentcc8dfb6c1344c2d37fafa932ac945468cbd00b2a (diff)
url_for removed
auto insertion of RDF::DC.modified
Diffstat (limited to 'lib/compound.rb')
-rw-r--r--lib/compound.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compound.rb b/lib/compound.rb
index da16c85..a0d6ec7 100644
--- a/lib/compound.rb
+++ b/lib/compound.rb
@@ -11,7 +11,7 @@ module OpenTox
# @param [String] smiles Smiles string
# @return [OpenTox::Compound] Compound
def self.from_smiles service_uri, smiles, subjectid=nil
- @smiles = smiles
+ #@smiles = smiles
Compound.new RestClientWrapper.post(service_uri, smiles, {:content_type => 'chemical/x-daylight-smiles', :subjectid => subjectid})
end
@@ -19,7 +19,7 @@ module OpenTox
# @param [String] smiles InChI string
# @return [OpenTox::Compound] Compound
def self.from_inchi service_uri, inchi, subjectid=nil
- @inchi = inchi
+ #@inchi = inchi
Compound.new RestClientWrapper.post(service_uri, inchi, {:content_type => 'chemical/x-inchi', :subjectid => subjectid})
end