Skip to content

Commit

Permalink
have index set for include_patrol_details
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgitonga authored Sep 15, 2023
1 parent 33b8162 commit 42d6c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecoscope/io/earthranger.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ def get_patrol_observations(
f"Getting observations for subject_id={subject_id} start_time={patrol_start_time} end_time={patrol_end_time}"
f"failed for: {e}"
)
return ecoscope.base.Relocations(pd.concat(observations)).set_index("id")
return ecoscope.base.Relocations(pd.concat(observations))

def get_patrol_segment_events(
Expand Down

0 comments on commit 42d6c95

Please sign in to comment.