From 36d357259e571b5b8a6a08d42f32d3c46f6a4ea5 Mon Sep 17 00:00:00 2001 From: ViaFerrata <michimoser@onlinehome.de> Date: Tue, 25 Dec 2018 12:09:45 +0100 Subject: [PATCH] Removed leftover code. --- orcasong/data_to_images.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/orcasong/data_to_images.py b/orcasong/data_to_images.py index 0c97f7f..0ffb865 100644 --- a/orcasong/data_to_images.py +++ b/orcasong/data_to_images.py @@ -409,15 +409,6 @@ def skip_event(event_track, data_cuts): throw_away = np.random.choice([False, True], p=[1 - throw_away_prob, throw_away_prob]) if throw_away: continue_bool = True - # # TODO temporary, deprecated solution, we always need to throw away the same events if we have multiple inputs -> use fixed seed - # arr = np.load('/home/woody/capn/mppi033h/Code/OrcaSong/utilities/low_e_prod_surviving_evts_elec-CC.npy') - # arr_list = arr.tolist() - # evt_id = event_track[0] - # run_id = event_track[9] - # - # if [run_id, evt_id] not in arr_list: - # continue - return continue_bool -- GitLab