Skip to content

Commit 0865e92

Browse files
committed
Remove debug statement, add exception
1 parent 6b76f1a commit 0865e92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pCrunch/aeroelastic_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def time_binning(self, time_window):
536536
t_end = (i_bin+1) * time_window + self.time.min()
537537
time_index = np.logical_and(self.time >= t_start, self.time < t_end)
538538
if not np.any(time_index):
539-
print('here')
539+
raise Exception("Error binning time between {t_start} and {t_end}")
540540
data_filtered = self.data[time_index,:]
541541
data_binned[i_bin,:] = np.mean(data_filtered,axis=0)
542542

0 commit comments

Comments
 (0)