Mercurial > repos > p.lucas > taxid_genusexpand_taxid2acc
changeset 10:5a4ac43fea68 draft
Uploaded 14 03 23 def load_taxids fix bug when empty line
author | p.lucas |
---|---|
date | Tue, 14 Mar 2023 08:07:14 +0000 |
parents | 7e75c71e3c8e |
children | 3d116861e380 |
files | TAXID_genusexpand_taxid2acc.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/TAXID_genusexpand_taxid2acc.py Mon Mar 13 16:16:49 2023 +0000 +++ b/TAXID_genusexpand_taxid2acc.py Tue Mar 14 08:07:14 2023 +0000 @@ -193,10 +193,9 @@ for line in os.popen(cmd).readlines(): if line != "": - continue - k, v = line.rstrip().split() - taxidlist.append(k) - accnrlist.append(v) + k, v = line.rstrip().split() + taxidlist.append(k) + accnrlist.append(v) return taxidlist # --------------------------------------------------------------------------