Project

General

Profile

« Previous | Next » 

Revision 14576

fix: lib/tnrs.py: single_tnrs_request(): need to `assert name_ct >= 1`, because with no names, TNRS hangs indefinitely

View differences:

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