Project

General

Profile

« Previous | Next » 

Revision 9904

lib/tnrs.py: submission_request_template: include GCC in addition to Tropicos, because it provides more synonyms than Tropicos for Asteraceae, and the accepted names still match the Tropicos backbone (https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/2013-06-13_conference_call#include-GCC-when-running-TNRS)

View differences:

tnrs.py
29 29
}
30 30
submission_request_template = ('7|0|7|'+url_base+
31 31
'||org.iplantc.tnrs.demo.client.SearchService|doSearch|\
32
java.lang.String/2004016611|{"sources":"tropicos", "names":"[names]"\
32
java.lang.String/2004016611|{"sources":"gcc,tropicos", "names":"[names]"\
33 33
, "type":"matching", "taxonomic":"true", "classification":"tropicos", \
34 34
"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\]$'

Also available in: Unified diff