Skip to content

Enable localization pipeline to be run without localized datetimes #1197

Description

@rhine3

Add an option to bypass the current requirement to use pytz.timezone-localized timestamps in the localization pipeline. This option can be used by folks who have trimmed or extended their audio to all start or end at the same time.

One suggested way to do this would be to add an argument to localize_detections, e.g., localized_timestamp=False, which would bypass the logic starting on this line:

if "start_timestamp" in detections.index.names:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions