Skip to content

Commit 6709f7b

Browse files
authored
Merge branch 'master' into fix-plotly-warnings
2 parents e48dd63 + 3ac7bec commit 6709f7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

malariagen_data/anoph/genome_features.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,5 +552,5 @@ def _transcript_to_parent_name(self, transcript):
552552
return self._gene_name_overrides[parent_id]
553553
except KeyError:
554554
rec_parent = df_genome_features.loc[parent_id]
555-
# Try to access "Name" attribute, fall back to "ID" if not present.
556-
return rec_parent.get("Name", parent_id)
555+
# Try to access gene name attribute, fall back to "ID" if not present.
556+
return rec_parent.get(self._gff_gene_name_attribute, parent_id)

0 commit comments

Comments
 (0)