gabrielaltay
commited on
Commit
•
e43030d
1
Parent(s):
366e79d
use NCBIGene as db_id
Browse fileshttps://github.com/bigscience-workshop/biomedical/pull/748/files
- 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 {
|