gabrielaltay
commited on
Commit
•
5b185dc
1
Parent(s):
366e79d
use NCBIGene as db_id (#1)
Browse files- use NCBIGene as db_id (e43030d55506c247abe1cfc3f70ae1a35fbe0ffe)
- 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 {
|