You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If groups are not of the same size, this line will cause an exception.
Let's say peaks are detected at tpeak=[100, 150, 151, 152, 191, 192].
This function will try to group them into [[100], [150, 151, 152], [191,192]] and then return this as a two dimensional array, instead of array of arrays, leading to a crash.
The text was updated successfully, but these errors were encountered:
https://github.com/afeinstein20/stella/blob/f9ffd78d1c7279012e870f3657812595f18eee74/stella/mark_flares.py#L92C1-L92C33
If groups are not of the same size, this line will cause an exception.
Let's say peaks are detected at
tpeak=[100, 150, 151, 152, 191, 192]
.This function will try to group them into
[[100], [150, 151, 152], [191,192]]
and then return this as a two dimensional array, instead of array of arrays, leading to a crash.The text was updated successfully, but these errors were encountered: