-
Notifications
You must be signed in to change notification settings - Fork 16
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
<Plug>JupyterExecute is executing the next cell instead of the current one #8
Comments
same issue |
A rough workaround is evoke function of vim-ipython-cell:
hope someone have a more elegant solution |
After taking a look at the code, it appears to be an issue with the assumptions for how the file starts: https://github.com/untitled-ai/jupyter_ascending/blob/main/jupyter_ascending/requests/execute.py#L20 I don't know enough about This worked for me, hopefully it does for you as well. Cheers |
@jvivian this solutions works! Thanks for the this workaround :) |
So if i'm understanding right, not having the first cell marker on the first line should make it work? But my notebook files are generally created by jupytext which does add a leading cell marker, so could it be fixed in jupyter_ascending? |
I used the
|
This was maybe hopefully fixed in the most recent update of the |
Putting my cursor on
import
and hitting<localleader>j
will cause the second cell to execute. What could be the problem?The text was updated successfully, but these errors were encountered: