use NCBIGene as db_id
#1
by
gabrielaltay - opened
- nlm_gene.py +1 -1
nlm_gene.py
CHANGED
|
@@ -180,7 +180,7 @@ class NLMGeneDataset(datasets.GeneratorBasedBuilder):
|
|
| 180 |
if splitter in db_ids:
|
| 181 |
connector = splitter
|
| 182 |
normalized = [
|
| 183 |
-
{"db_name":
|
| 184 |
]
|
| 185 |
|
| 186 |
return {
|
|
|
|
| 180 |
if splitter in db_ids:
|
| 181 |
connector = splitter
|
| 182 |
normalized = [
|
| 183 |
+
{"db_name": "NCBIGene", "db_id": db_id} for db_id in db_ids.split(connector)
|
| 184 |
]
|
| 185 |
|
| 186 |
return {
|