etrop commited on
Commit
07eece4
1 Parent(s): 4619699

fix cage file path naming

Browse files
Files changed (1) hide show
  1. genomics-long-range-benchmark.py +4 -4
genomics-long-range-benchmark.py CHANGED
@@ -202,24 +202,24 @@ class CagePredictionHandler(GenomicLRATaskHandler):
202
  self.reference_genome = Fasta(reference_genome_file, one_based_attributes=False)
203
 
204
  self.coordinate_csv_file = dl_manager.download_and_extract(
205
- "cage_expression/sequences_coordinates.csv"
206
  )
207
 
208
  train_file_dict = {}
209
  for train_key, train_file in self.generate_npz_filenames(
210
- "train", self.NUM_TRAIN, folder="cage_expression/targets_subset"
211
  ):
212
  train_file_dict[train_key] = dl_manager.download(train_file)
213
 
214
  test_file_dict = {}
215
  for test_key, test_file in self.generate_npz_filenames(
216
- "test", self.NUM_TEST, folder="cage_expression/targets_subset"
217
  ):
218
  test_file_dict[test_key] = dl_manager.download(test_file)
219
 
220
  valid_file_dict = {}
221
  for valid_key, valid_file in self.generate_npz_filenames(
222
- "valid", self.NUM_VALID, folder="cage_expression/targets_subset"
223
  ):
224
  valid_file_dict[valid_key] = dl_manager.download(valid_file)
225
 
 
202
  self.reference_genome = Fasta(reference_genome_file, one_based_attributes=False)
203
 
204
  self.coordinate_csv_file = dl_manager.download_and_extract(
205
+ "cage_prediction/sequences_coordinates.csv"
206
  )
207
 
208
  train_file_dict = {}
209
  for train_key, train_file in self.generate_npz_filenames(
210
+ "train", self.NUM_TRAIN, folder="cage_prediction/targets_subset"
211
  ):
212
  train_file_dict[train_key] = dl_manager.download(train_file)
213
 
214
  test_file_dict = {}
215
  for test_key, test_file in self.generate_npz_filenames(
216
+ "test", self.NUM_TEST, folder="cage_prediction/targets_subset"
217
  ):
218
  test_file_dict[test_key] = dl_manager.download(test_file)
219
 
220
  valid_file_dict = {}
221
  for valid_key, valid_file in self.generate_npz_filenames(
222
+ "valid", self.NUM_VALID, folder="cage_prediction/targets_subset"
223
  ):
224
  valid_file_dict[valid_key] = dl_manager.download(valid_file)
225