Skip to content

Setting up mask outside data range raises an error #170

@nbeliy

Description

@nbeliy

Not really a bug, but an annoyance.

When specifying a mask with

raw.add_mask_period(start, end)

If start or end falls outside the data range, an exception is raised:

ValueError: Attempting to set the stop time of a mask period after the actual stop time of the data.

Forcing to add a code to crop periods to the data.
This code could be executed by pyActigraphy instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions