Revision 5089
Added by Aaron Marcuse-Kubitza about 12 years ago
tnrs_db | ||
---|---|---|
61 | 61 |
total_pause = 0 |
62 | 62 |
|
63 | 63 |
# Run TNRS |
64 |
stream = tnrs.tnrs_request(list(sql.values(cur))) |
|
64 |
stream = tnrs.repeated_tnrs_request(list(sql.values(cur)))
|
|
65 | 65 |
stream_info = csvs.stream_info(stream, parse_header=True) |
66 | 66 |
stream = streams.ProgressInputStream(stream, sys.stderr, n=1000) |
67 | 67 |
sql_io.append_csv(db, tnrs_data, stream_info, stream) |
Also available in: Unified diff
tnrs_client, tnrs_db: Use new tnrs.repeated_tnrs_request()