Revision 9520
Added by Aaron Marcuse-Kubitza over 11 years ago
tnrs_db | ||
---|---|---|
54 | 54 |
# Run TNRS |
55 | 55 |
log('Making TNRS request') |
56 | 56 |
tnrs_profiler.start() |
57 |
try: stream = tnrs.repeated_tnrs_request(names)
|
|
57 |
try: stream = tnrs.tnrs_request(names) |
|
58 | 58 |
finally: |
59 | 59 |
tnrs_profiler.stop(iter_ct=this_ct) |
60 | 60 |
log('Cumulatively: '+tnrs_profiler.msg()) |
Also available in: Unified diff
lib/tnrs.py: repeated_tnrs_request(): renamed to tnrs_request() since this is the function that should usually be used, to ensure that debugging information is output in the case of an error. (the TNRS request must be made again to output this information.)