Commit
·
c6f1773
1
Parent(s):
bbdfb41
Make taxonomy identification case insensitive (#3)
Browse files- Make taxonomy identification case insensitive (d40deddd26c8dd81404d12db5c9591f8e8c523e8)
Co-authored-by: David Kartchner <davidkartchner@users.noreply.huggingface.co>
- 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":
|