update the return values for cage
Browse files
genomics-long-range-benchmark.py
CHANGED
@@ -269,6 +269,10 @@ class CagePredictionHandler(GenomicLRATaskHandler):
|
|
269 |
return_new_start_stop=True
|
270 |
)
|
271 |
|
|
|
|
|
|
|
|
|
272 |
# floor npy_idx to the nearest 1000
|
273 |
npz_file = np.load(
|
274 |
target_files[int((row["npy_idx"] // self.NPZ_SPLIT) * self.NPZ_SPLIT)]
|
|
|
269 |
return_new_start_stop=True
|
270 |
)
|
271 |
|
272 |
+
if self.sequence_length >= self.DEFAULT_LENGTH:
|
273 |
+
new_start = start
|
274 |
+
new_stop = stop
|
275 |
+
|
276 |
# floor npy_idx to the nearest 1000
|
277 |
npz_file = np.load(
|
278 |
target_files[int((row["npy_idx"] // self.NPZ_SPLIT) * self.NPZ_SPLIT)]
|