diff options
author | gebele <gebele@in-silico.ch> | 2013-05-13 10:37:02 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-05-13 10:37:02 +0200 |
commit | 1c353553c3213138cfd98256e93363980367794f (patch) | |
tree | 7dd4c220fed00bfb83d9375983d4ca7b99ca9441 | |
parent | 88a8b1fe193898c5a0d1cd4640a5495b5f729aa8 (diff) |
cut subjectid from uri
-rw-r--r-- | lib/opentox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index f1ae2d1..e5305fd 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -114,7 +114,7 @@ module OpenTox # HEAD request for object in backend # algorithm, dataset, compound and validation overwrite this head "/#{SERVICE}/:id/?" do - resource_not_found_error "#{uri} not found." unless FourStore.head(@uri) + resource_not_found_error "#{uri} not found." unless FourStore.head(@uri.split('?').first) end # Get a list of objects at the server or perform a SPARQL query |