Skip to content
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

Fix CSV reader adding empty lists in rendering summary #3430

Merged
merged 2 commits into from Nov 2, 2023

Conversation

JasonGrace2282
Copy link
Contributor

@JasonGrace2282 JasonGrace2282 commented Oct 31, 2023

Fixes issue #3311

Overview: What does this pull request change?

Resolves #3311 as was suggested here

What ended up happening was in the line list(csv.reader(file)) the file contained two newline characters instead of the expected one (most likely due to windows being weird with carriage returns). This caused the csv reader to create a new list for it, thus generating the empty list in the issue.

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@JasonGrace2282 JasonGrace2282 changed the title Fix CSV reader adding empty files Fix CSV reader adding empty lists in rendering summary Oct 31, 2023
Copy link
Member

@behackl behackl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@behackl behackl merged commit 5d73525 into ManimCommunity:main Nov 2, 2023
19 checks passed
@JasonGrace2282 JasonGrace2282 deleted the issue_3311 branch November 3, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Better Error Messages for Manim Directive when Failing Animations are Present with Documentation Generation
2 participants