Skip to content

Check Input data for functions #524

@chraibi

Description

@chraibi

Input data for all functions (I think) is pedpy.TrajectoryData, which is great and consistent.

However, I'm not sure if we check this before using the functions. Often, I get the error traj does not have .data, because of me being sloppy.

So, do you think it's worth it to add some check of the type right at the beginning of the functions or will it slow anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions