From 64bc20b8fe4afda28126c1b6a7c2120576210211 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Mon, 12 Nov 2018 11:19:22 +0100 Subject: [PATCH] cleanup --- code/read_chirp_data.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/read_chirp_data.py b/code/read_chirp_data.py index 3f53381..4283c48 100644 --- a/code/read_chirp_data.py +++ b/code/read_chirp_data.py @@ -1,6 +1,5 @@ import numpy as np import os -from IPython import embed def load_chirp_spikes(dataset): @@ -46,7 +45,7 @@ def load_chirp_eod(dataset): if "index" in l and "chirp" not in l: index = int(l.split(":")[-1]) if "deltaf" in l and "true" not in l: - df = l.split(":")[-1] + df = l.split(":")[-1] if "contrast" in l and "true" not in l: contrast = l.split(":")[-1] if "chirpsize" in l: @@ -92,5 +91,4 @@ if __name__ == "__main__": spikes = load_chirp_spikes(os.path.join(data_dir, dataset)) chirp_times = load_chirp_times(os.path.join(data_dir, dataset)) chirp_eod = load_chirp_eod(os.path.join(data_dir, dataset)) - embed() - +