Skip to content

Exports don't work properly when start and end date are the same #83

@mosc5

Description

@mosc5

This error happened on a test run with same start and end date:
File "/home/moritz/github/simbev/simbev/simbev_class.py", line 166, in run car_array = car.export(region_directory, self) File "/home/moritz/github/simbev/simbev/car.py", line 324, in export post_event_len = activity.at[activity.index[1], "event_start"] File "/home/moritz/github/simbev/venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 5039, in __getitem__ return getitem(key) IndexError: index 1 is out of bounds for axis 0 with size 1

Additionally, the integrated plots don't use all available data, but cut off the last day

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions