diff --git a/RingDown.py b/RingDown.py index 3b404e8..532eb11 100644 --- a/RingDown.py +++ b/RingDown.py @@ -11,7 +11,8 @@ for f in list_files: data_iter = csv.reader(open(f, 'r'), delimiter = ',', quotechar = '"') for i in range(2): data_iter.next() - temp_data = [value for value in data_iter] + temp_data = [value for value in data_iter] #if ends with a number + #temp_data = [value[:-1] for value in data_iter]#if ends with a comma data.extend(temp_data) data = np.asarray(data, dtype = float)