Commit 880efe8
committed
fix: restore gene_names parameter passing to AnophelesGenomeFeaturesData
The gene_names parameter was removed from AnophelesDataResource.__init__()
in PR #1195, breaking the constructor chain. This meant the GENE_NAMES dict
(e.g., AGAP004707 → 'Vgsc/para') defined in ag3.py was never forwarded to
AnophelesGenomeFeaturesData, causing _gene_name_overrides to default to an
empty dict.
This commit:
- Re-adds gene_names as an optional parameter to AnophelesDataResource.__init__()
- Forwards it via super().__init__() to AnophelesGenomeFeaturesData
- Restores gene_names=GENE_NAMES in Ag3.__init__()
Closes #12091 parent c66eb1a commit 880efe8
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
0 commit comments