Commit
·
5e045db
1
Parent(s):
00de1ef
feat: Add logging warning
Browse files
nucleotide_transformer_downstream_tasks.py
CHANGED
@@ -149,16 +149,13 @@ class NucleotideTransformerDownstreamTasks(datasets.GeneratorBasedBuilder):
|
|
149 |
|
150 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
151 |
def _generate_examples(self, file):
|
152 |
-
print("""
|
153 |
-
|
154 |
####
|
155 |
WARNING: Please note that the Nucleotide Transformer datasets have been revised
|
156 |
during the pee-review process, and the new datasets are available at
|
157 |
InstaDeepAI/nucleotide_transformer_downstream_tasks_revised
|
158 |
####
|
159 |
-
|
160 |
""")
|
161 |
-
print("Log at generating examples stage")
|
162 |
key = 0
|
163 |
with open(file, "rt") as f:
|
164 |
fasta_sequences = parse_fasta(f)
|
|
|
149 |
|
150 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
151 |
def _generate_examples(self, file):
|
152 |
+
print("""
|
|
|
153 |
####
|
154 |
WARNING: Please note that the Nucleotide Transformer datasets have been revised
|
155 |
during the pee-review process, and the new datasets are available at
|
156 |
InstaDeepAI/nucleotide_transformer_downstream_tasks_revised
|
157 |
####
|
|
|
158 |
""")
|
|
|
159 |
key = 0
|
160 |
with open(file, "rt") as f:
|
161 |
fasta_sequences = parse_fasta(f)
|