Skip to content

Commit 4ec4cb4

Browse files
committed
fixup: address round 3 comments -- logic error
1 parent 2ec70cd commit 4ec4cb4

File tree

1 file changed

+2
-1
lines changed
  • data-pipeline/src/data_pipeline/data_types

1 file changed

+2
-1
lines changed

data-pipeline/src/data_pipeline/data_types/gene.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ def prepare_table_for_release(genes_path, keep_mane_version_global_annotation):
231231
if keep_mane_version_global_annotation:
232232
globals_dict = ds.index_globals()
233233
ds = ds.select_globals(mane_select_version=globals_dict["annotations"]["mane_select_transcript"]["version"])
234-
ds = ds.select_globals()
234+
else:
235+
ds = ds.select_globals()
235236
return ds
236237

237238

0 commit comments

Comments
 (0)