diff options
-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 |