-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] skip_animations
causes ValueError: Cannot merge an empty list of files!
#514
Comments
Hi @Rapsssito, thanks for reporting this bug! Indeed, #155 introduced support for skipping animations rendering, but it was meant to be used from the terminal with the I don't think manim-slides/manim_slides/config.py Lines 217 to 221 in 541b175
and skip current iteration (with manim-slides/manim_slides/slide/base.py Lines 517 to 545 in 541b175
if I'll mark this as a good first issue, as I think it is relatively easy to solve. |
Terms
Describe the issue
Passing
skip_animations=True
toself.next_slide()
raises the exceptionValueError: Cannot merge an empty list of files!
frommanim_slides\slide\manim.py:136 > manim_slides\slide\base.py:526 > manim-slides\manim_slides\utils.py:68
.skip_animations=True
is really useful for implementing long chained animations. I saw the PR #155, but maybe it breaks if all the animations from the slide are skipped?Command
manim-slides render example.py MWE
Issue Type
Other
Python version
Python 3.12.7
Python environment
What is your platform?
Windows
Other platform
No response
Manim Slides Python code
Relevant log output
No response
Screenshots
No response
Additional information
No response
Recommended fix or suggestions
An option could be adding a placeholder video instead of the slide if the slide does not contain any animations.
The text was updated successfully, but these errors were encountered: