diff --git a/CHANGELOG.md b/CHANGELOG.md index ca30e14..8444222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ ## Development Version +## v1.0.3 + +- fix: bug in reannotate diamond results .. Fixed! + +## v1.0.2 + +- fix: fix #28 typo in `erv` wrapper +- fix: fix #29 `--version` not printing + ## v1.0.1 - feat: aggregate raw counts for hervquant (plus TPM) #24 diff --git a/VERSION b/VERSION index 7dea76e..21e8796 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.1 +1.0.3 diff --git a/workflow/scripts/reprocess_annotated_diamond.py b/workflow/scripts/reprocess_annotated_diamond.py index b3384a9..d9baab8 100644 --- a/workflow/scripts/reprocess_annotated_diamond.py +++ b/workflow/scripts/reprocess_annotated_diamond.py @@ -93,7 +93,10 @@ def main(): print("Unknown found in line:") print("\t".join(l)) new_tid = get_taxid(l[1]) - new_lineage = taxid2lineage[new_tid] + try: + new_lineage = taxid2lineage[new_tid] + except: + new_lineage = "Unknown" l[12] = new_tid l[14] = new_lineage print("new_taxid=", new_tid)