diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-01-23 12:53:43 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-01-23 12:53:43 +0100 |
commit | 147e1b7351975f19697e1e6ff4a6106fd38174ae (patch) | |
tree | bfae2caf360efdc9631a376f4341a9b9c3ecbf7b /lib/compound.rb | |
parent | cc8dfb6c1344c2d37fafa932ac945468cbd00b2a (diff) |
url_for removed
auto insertion of RDF::DC.modified
Diffstat (limited to 'lib/compound.rb')
-rw-r--r-- | lib/compound.rb | 4 |
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 |