davidkartchner
commited on
Commit
•
d40dedd
1
Parent(s):
bbdfb41
Make taxonomy identification case insensitive
Browse filesThis fixes a bug where gene identifiers and taxonomy IDs are not parsed correctly due to casing inconsistency in the original source data.
- gnormplus.py +1 -1
gnormplus.py
CHANGED
@@ -100,7 +100,7 @@ class GnormplusDataset(datasets.GeneratorBasedBuilder):
|
|
100 |
|
101 |
DEFAULT_CONFIG_NAME = "gnormplus_source"
|
102 |
|
103 |
-
_re_tax_id = re.compile(r"(?P<db_id>\d+)\(
|
104 |
|
105 |
def _info(self) -> datasets.DatasetInfo:
|
106 |
if self.config.schema == "source":
|
|
|
100 |
|
101 |
DEFAULT_CONFIG_NAME = "gnormplus_source"
|
102 |
|
103 |
+
_re_tax_id = re.compile(r"(?P<db_id>\d+)\([tT]ax:(?P<tax_id>\d+)\)")
|
104 |
|
105 |
def _info(self) -> datasets.DatasetInfo:
|
106 |
if self.config.schema == "source":
|