AcademySoftwareFoundation / AcademySoftwareFoundation/OpenTimelineIO

otio.algorithms.flatten_stack() only flattens one level

Open
#353 1 comment 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
C++
Stars
2k
Forks
351
Avg merge
1d 12h
Merged PRs (30d)
1

Description

If you have Tracks or Stacks within a Track, `otio.algorithms.flatten_stack()` doesn't flatten all the way.

We might need a separate `otio.algorithms.flatten_track()` and a recursive `flatten()` that deals with arbitrary nesting.

Contributor guide

Open the contributing guide

Research direction

Start at otio.algorithms.flatten_stack() and inspect its current tests and callers. Reproduce the nested Track/Stack case described in the issue, then define and verify the chosen recursive behavior; done means arbitrary nesting is flattened consistently and regression coverage captures it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.