diff --git a/stimuli/SinusoidalStepStimulus.py b/stimuli/SinusoidalStepStimulus.py index 6271cc7..64b77cf 100644 --- a/stimuli/SinusoidalStepStimulus.py +++ b/stimuli/SinusoidalStepStimulus.py @@ -63,7 +63,8 @@ def convert_to_array(frequency, amplitude, contrast, start_time, duration, time_ idx_end = (am_end - time_start) / step_size_s if idx_start != round(idx_start) or idx_end != round(idx_end): - raise ValueError("Didn't calculate integers when searching the start and end index. start:", idx_start, "end:", idx_end) + pass + # raise ValueError("Didn't calculate integers when searching the start and end index. start:", idx_start, "end:", idx_end) # print("am_start: {:.0f}, am_end: {:.0f}, length: {:.0f}".format(am_start, am_end, am_end-am_start)) idx_start = int(idx_start)