Commit c36ed240 authored by Alex Nunes's avatar Alex Nunes
Browse files

Modified timeline to check for receiver column before filtering releases

 Changes to be committed:
	modified:   docs/notebooks/visual_detection_timeline.ipynb.rst
	modified:   resonate/visual_timeline.py
parent 5596f3ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ def consolidate_data(detections):
    """

    detections = detections.copy(deep=True)
    if 'receiver' in detections.columns:
        detections = detections[~(detections.receiver == 'release')]
    detections['date'] = pd.to_datetime(detections.datecollected).dt.date
    detections['det_counts'] = 0
+2 −2

File changed.

Contains only whitespace changes.