projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4340561
)
make the search tool more flexible
author
Diane Trout
<diane@ghic.org>
Wed, 28 Jan 2015 23:32:02 +0000
(15:32 -0800)
committer
Diane Trout
<diane@ghic.org>
Wed, 28 Jan 2015 23:32:02 +0000
(15:32 -0800)
htsworkflow/submission/encoded.py
patch
|
blob
|
history
diff --git
a/htsworkflow/submission/encoded.py
b/htsworkflow/submission/encoded.py
index 951c28b2463be9d7bd68e6c2b02b58e2d1c3eac1..29f6eccd0a8a47a61eb85a99f74e323f52765272 100644
(file)
--- a/
htsworkflow/submission/encoded.py
+++ b/
htsworkflow/submission/encoded.py
@@
-303,11
+303,14
@@
class ENCODED:
url = urlunparse(url.values())
return url
- def search_jsonld(self,
term,
**kwargs):
+ def search_jsonld(self, **kwargs):
'''Send search request to ENCODED
+
+ to do a general search do
+ searchTerm=term
'''
url = self.prepare_url('/search/')
- result = self.get_json(url,
searchTerm=term,
**kwargs)
+ result = self.get_json(url, **kwargs)
self.convert_search_to_jsonld(result)
return result