hdallatorre
commited on
Commit
•
d1015e6
1
Parent(s):
902927b
feat: Add logging warning
Browse files
nucleotide_transformer_downstream_tasks.py
CHANGED
@@ -154,11 +154,13 @@ class NucleotideTransformerDownstreamTasks(datasets.GeneratorBasedBuilder):
|
|
154 |
|
155 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
156 |
def _generate_examples(self, file):
|
157 |
-
|
158 |
-
|
|
|
159 |
WARNING: Please note that the Nucleotide Transformer datasets have been revised
|
160 |
during the pee-review process, and the new datasets are available at
|
161 |
InstaDeepAI/nucleotide_transformer_downstream_tasks_revised
|
|
|
162 |
""")
|
163 |
key = 0
|
164 |
with open(file, "rt") as f:
|
|
|
154 |
|
155 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
156 |
def _generate_examples(self, file):
|
157 |
+
|
158 |
+
logger.warning("""
|
159 |
+
|
160 |
WARNING: Please note that the Nucleotide Transformer datasets have been revised
|
161 |
during the pee-review process, and the new datasets are available at
|
162 |
InstaDeepAI/nucleotide_transformer_downstream_tasks_revised
|
163 |
+
|
164 |
""")
|
165 |
key = 0
|
166 |
with open(file, "rt") as f:
|