@@ -276,7 +276,7 @@ def annotate(args):
276276 )
277277 pfam_dict = pfam2tsv (pfam , pfam_all , pfam_annots )
278278 else :
279- pfam_dict = parse_annotations (pfam_annots )
279+ pfam_dict , _ = parse_annotations (pfam_annots )
280280 logger .info (
281281 f"Existing Pfam-A results found, loaded annotations for { len (pfam_dict )} gene models"
282282 )
@@ -296,7 +296,7 @@ def annotate(args):
296296 )
297297 dbcan_dict = dbcan2tsv (dbcan , dbcan_all , dbcan_annots )
298298 else :
299- dbcan_dict = parse_annotations (dbcan_annots )
299+ dbcan_dict , _ = parse_annotations (dbcan_annots )
300300 logger .info (
301301 f"Existing dbCAN results found, loaded annotations for { len (dbcan_dict )} gene models"
302302 )
@@ -317,7 +317,7 @@ def annotate(args):
317317 )
318318 swiss_dict = swissprot2tsv (swiss , swiss_all , swiss_annots )
319319 else :
320- swiss_dict = parse_annotations (swiss_annots )
320+ swiss_dict , _ = parse_annotations (swiss_annots )
321321 logger .info (
322322 f"Existing UniProtKB/Swiss-Prot results found, loaded annotations for { len (swiss_dict )} gene models"
323323 )
@@ -337,7 +337,7 @@ def annotate(args):
337337 )
338338 merops_dict = merops2tsv (merops , merops_all , merops_annots )
339339 else :
340- merops_dict = parse_annotations (merops_annots )
340+ merops_dict , _ = parse_annotations (merops_annots )
341341 logger .info (
342342 f"Existing MEROPS results found, loaded annotations for { len (merops_dict )} gene models"
343343 )
@@ -384,7 +384,7 @@ def annotate(args):
384384 f"BUSCOlite search resulted in { len (busco_dict )} hits and finished in { round (end - start , 2 )} seconds"
385385 )
386386 else :
387- busco_dict = parse_annotations (busco_annots )
387+ busco_dict , _ = parse_annotations (busco_annots )
388388 logger .info (
389389 f"Existing BUSCOlite results found, loaded annotations for { len (busco_dict )} gene models"
390390 )
0 commit comments