Revision 14576
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/tnrs.py | ||
---|---|---|
145 | 145 |
''' |
146 | 146 |
name_ct = len(names) |
147 | 147 |
assert name_ct <= max_names |
148 |
assert name_ct >= 1 # with no names, TNRS hangs indefinitely |
|
148 | 149 |
|
149 | 150 |
# Logging |
150 | 151 |
def debug_log(label, str_=''): |
Also available in: Unified diff
fix: lib/tnrs.py: single_tnrs_request(): need to `assert name_ct >= 1`, because with no names, TNRS hangs indefinitely