From 4ec4cb4826cb110c2cd87d37026d10c2fe424f5d Mon Sep 17 00:00:00 2001 From: Riley Grant Date: Wed, 21 Aug 2024 14:24:35 -0500 Subject: [PATCH] fixup: address round 3 comments -- logic error --- data-pipeline/src/data_pipeline/data_types/gene.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data-pipeline/src/data_pipeline/data_types/gene.py b/data-pipeline/src/data_pipeline/data_types/gene.py index a35bd7cac..9a65ac987 100644 --- a/data-pipeline/src/data_pipeline/data_types/gene.py +++ b/data-pipeline/src/data_pipeline/data_types/gene.py @@ -231,7 +231,8 @@ def prepare_table_for_release(genes_path, keep_mane_version_global_annotation): if keep_mane_version_global_annotation: globals_dict = ds.index_globals() ds = ds.select_globals(mane_select_version=globals_dict["annotations"]["mane_select_transcript"]["version"]) - ds = ds.select_globals() + else: + ds = ds.select_globals() return ds