Skip to content

Commit 041bba6

Browse files
author
Jon Palmer
committed
fix tbl writing to ignore more crazy bad genbank annotations
1 parent 1d31850 commit 041bba6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/library.py

+2
Original file line numberDiff line numberDiff line change
@@ -1865,6 +1865,8 @@ def dicts2tbl(genesDict, scaff2genes, scaffLen, SeqCenter, SeqRefNum, skipList,
18651865
log.debug('Incompatible annotation found: {:}\n{:}'.format(genes, geneInfo))
18661866
duplicates += 1
18671867
continue
1868+
if len(geneInfo['ids']) == 0:
1869+
continue
18681870
#check for partial models
18691871
if True in geneInfo['partialStart']:
18701872
ps = '<'

0 commit comments

Comments
 (0)