-
Notifications
You must be signed in to change notification settings - Fork 4
Description
The following error occurs when following usage instructions for the sample data:
Traceback (most recent call last):
File "C:\Users\atilley\Desktop\Seabird\SeabirdCode-master\RunSeabird.py", line 10, in <module> mySeabird.identify()
File "C:\Users\atilley\Desktop\Seabird\SeabirdCode-master\seabird\seabird_class.py", line 129, in identify DCL_features = self.DCL.detect(data = self.cleanData[["Depth","Fluorescence"]],\
File "C:\Users\atilley\Desktop\Seabird\SeabirdCode-master\seabird\deepChlLayers.py", line 90, in detect peakUpperDepthBoundary_idx = np.searchsorted(data.Depth, peakUpperDepthBoundary)[0]+1 # find the boundary index
IndexError: invalid index to scalar variable
This can be fixed with removing the [0] in Line 90 of seabird\deepChlLayers.py