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

Previous cell wrongly executed #122

Closed
cgahr opened this issue Mar 22, 2021 · 1 comment
Closed

Previous cell wrongly executed #122

cgahr opened this issue Mar 22, 2021 · 1 comment
Milestone

Comments

@cgahr
Copy link
Collaborator

cgahr commented Mar 22, 2021

If the cursor is at the start of the line before the # denoting the start of a cell, the previous cell is executed instead of the cell starting with this line.

Example:

# %%
print(1)

|# %%
print(2)

The bar | represents the position of the cursor. In the example, the first cell is executed and the output is 1, but it should be 2.

@sschuhmann
Copy link
Collaborator

Fixed with your PR. Thank you!

@cgahr cgahr mentioned this issue Sep 1, 2021
@cgahr cgahr added this to the 0.6 milestone Sep 3, 2021
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

No branches or pull requests

2 participants