Project

General

Profile

« Previous | Next » 

Revision 13591

lib/tnrs.py: switched to downloading all matches per name, as is needed to implement #917. note that this will break the parts of the schema that use the tnrs table, until Brad's match-picking algorithm can be implemented, but this tradeoff is necessary to be able to begin scrubbing sooner (Martha; wiki.vegpath.org/2014-05-29_conference_call#TNRS)

View differences:

tnrs.py
59 59
download_request_template = ('7|0|6|'+url_base+
60 60
'|1E87C78041CEFBF0992F46BDF84D7D60|org.iplantc.tnrs.demo.client.SearchService|\
61 61
downloadRemoteResults|java.lang.String/2004016611|{"name":"tnrs_results.txt", \
62
"mode":"Best", "type":"Detailed", "encoding":"utf8", "dirty":"true", \
62
"mode":"All", "type":"Detailed", "encoding":"utf8", "dirty":"true", \
63 63
"sources":"false", "taxonomic":"true", "email":"tnrs@lka5jjs.orv", \
64 64
"key":"[key]"}|1|2|3|4|1|5|6|')
65 65
download_response_pattern = '^//OK\[1,\["(.*)"\],0,7\]$'

Also available in: Unified diff