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

Skip reading cells that start with %% #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mister-average
Copy link

Cell magics might not even contain Python code so the entire cell should be ignored if it starts with %%. Another fork of the parent repo (kuuurt@640001d) removes lines that contain %% but that would still try to parse the other lines in the cell which might cause a syntax error if the cell contained non-Python code.

Cell magics might not even contain Python code so the entire cell should be ignored if it starts with %%.  Another fork of the parent repo (kuuurt@640001d) removes lines that contain %% but that would still try to parse the other lines in the cell which might cause a syntax error if the cell contained non-Python code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant