Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

IntervalTier.intervalContaining(time), if index = 0 ,return None #38

@yuyanghua

Description

@yuyanghua

class IntervalTier(object)
def intervalContaining(self, time):
i = self.indexContaining(time)
if i :
return self.intervals[i]

indexContaining return 0, ‘ if 0 ’ return false ,then return None。 but must return intervals[0]

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