Skip to content

unnecessary chopping #141

Open
Open
@notestaff

Description

@notestaff

At

end_hits = [iv for iv in self.at(end) if iv.end > end]

should this be
end_hits = [iv for iv in self.at(end) if iv.begin < end]

? The end of the chopping interval is not part of the chopping interval, and an existing interval that starts at the end of the chopping interval does not need any part of it chopped off. Also, checking iv.end > end seems unnecessary since it should hold for any interval returned by self.at(end).

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