Revision 9912
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/tnrs.py | ||
---|---|---|
28 | 28 |
'X-GWT-Permutation': '574AA16D15D917C7704646FD92AFF6B3', |
29 | 29 |
} |
30 | 30 |
submission_request_template = ('7|0|7|'+url_base+ |
31 |
'|1E87C78041CEFBF0992F46BDF84D7D60|org.iplantc.tnrs.demo.client.SearchService|doSearch|\
|
|
32 |
java.lang.String/2004016611|{"sources":"gcc,tropicos", "names":"[names]"\
|
|
33 |
, "type":"matching", "taxonomic":"true", "classification":"tropicos", \
|
|
34 |
"match_to_rank":"true"}|0.05|1|2|3|4|2|5|5|6|7|') |
|
31 |
'|1E87C78041CEFBF0992F46BDF84D7D60|org.iplantc.tnrs.demo.client.SearchService|\ |
|
32 |
doSearch|java.lang.String/2004016611|{"sources":"gcc,tropicos", \
|
|
33 |
"names":"[names]", "type":"matching", "taxonomic":"true", \
|
|
34 |
"classification":"tropicos", "match_to_rank":"true"}|0.05|1|2|3|4|2|5|5|6|7|')
|
|
35 | 35 |
submission_response_pattern = r'^//OK\[1,\["(\w+)"\],0,7\]$' |
36 | 36 |
retrieval_request_template = ('7|0|15|'+url_base+ |
37 | 37 |
'|1E87C78041CEFBF0992F46BDF84D7D60|org.iplantc.tnrs.demo.client.SearchService\ |
Also available in: Unified diff
lib/tnrs.py: HTTP requests: rewrapped lines