Revision 13462
Added by Aaron Marcuse-Kubitza over 10 years ago
tnrs.py | ||
---|---|---|
20 | 20 |
max_names = 500 # the maximum above crashes the TNRS server |
21 | 21 |
|
22 | 22 |
# Protocol params |
23 |
url_base = 'http://tnrs.iplantcollaborative.org/tnrsdemo/' |
|
23 |
server = 'tnrs.iplantcollaborative.org' |
|
24 |
url_base = 'http://'+server+'/tnrsdemo/' |
|
24 | 25 |
url = url_base+'search' |
25 | 26 |
initial_headers = { |
26 | 27 |
'Content-Type': 'text/x-gwt-rpc; charset=utf-8', |
Also available in: Unified diff
lib/tnrs.py: configure the server separately from the base URL