Update plant-multi-species-genomes.py
Browse files
plant-multi-species-genomes.py
CHANGED
@@ -104,7 +104,7 @@ class PlantMultiSpeciesGenomes(datasets.GeneratorBasedBuilder):
|
|
104 |
|
105 |
filepaths_txt = dl_manager.download_and_extract('plant_genome_file_names.txt')
|
106 |
with open(filepaths_txt) as f:
|
107 |
-
filepaths = [
|
108 |
|
109 |
test_paths = filepaths[-2:] # 2 genomes for test set
|
110 |
validation_paths = filepaths[-4:-2] # 2 genomes for validation set
|
|
|
104 |
|
105 |
filepaths_txt = dl_manager.download_and_extract('plant_genome_file_names.txt')
|
106 |
with open(filepaths_txt) as f:
|
107 |
+
filepaths = [filepath.rstrip() for filepath in f]
|
108 |
|
109 |
test_paths = filepaths[-2:] # 2 genomes for test set
|
110 |
validation_paths = filepaths[-4:-2] # 2 genomes for validation set
|