uniq: now outputs an empty view if input view is empty instead of

displaying an error
This commit is contained in:
Celine Mercier
2020-06-10 17:47:26 +02:00
parent 36a8aaa92e
commit 14a2579173

View File

@ -591,6 +591,7 @@ def run(config):
# Initialize the progress bar
pb = ProgressBar(len(entries), config, seconde=5)
if len(entries) > 0:
try:
uniq_sequences(entries, o_view, pb, config, mergedKeys_list=config['uniq']['merge'], taxonomy=taxo, mergeIds=config['uniq']['mergeids'], categories=config['uniq']['categories'], max_elts=config['obi']['maxelts'])
except Exception, e: