You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i noticed a (for me) unexpected behaviour of the upstream only cell execution feature "(cmd+k shortcut).
It also overwrites (removes) any downstream dependencies of the executed cell. This leads to in my eyes unexpected behaviour because, if one then executes anything downstream it does not execute the correct upstream dependencies.
Step 1 - As an example lets take the simpel Notebook:
Step 4 - Change the x= cell but do not execute it again. Execute the z= cell with cmd+k:
This is now quite unexpected. I would assume that again every z upstream cell (x and y) get executed but only x is actually executed because due to Step 3 z is no longer a downstream dependency of y.
Subsequent normal executions (cmd+enter) seem to repair that problem again one downstream dependency at a time. So the first normal execution and y= is executed and a second normal execution => the last deps cell is also executed.
This behaviour is to some degree understandable because one does not know if z cell still exists, if one only executes until y but is there some way to preserve such downstream deps metadata from previous executions or execute/build the dependency graph of the whole notebook also for partial (cmd + k) executions ?
Hi,
i noticed a (for me) unexpected behaviour of the upstream only cell execution feature "(cmd+k shortcut).
It also overwrites (removes) any downstream dependencies of the executed cell. This leads to in my eyes unexpected behaviour because, if one then executes anything downstream it does not execute the correct upstream dependencies.
Step 1 ipflow Notebook metadata.json
x=
cell but do not execute it. Execute thez=
cell withcmd+k
:Looks good but in the metadata you can already see that the upstream depency for the last cell with
deps
is removed.Step 2 ipflow Notebook metadata.json
x=
cell but do not execute it again. Execute they=
cell withcmd+k
:Looks also good but in the metadata you can see that the upstream depency for the
z=
cell is removed.Step 3 ipflow Notebook metadata.json
x=
cell but do not execute it again. Execute thez=
cell withcmd+k
:This is now quite unexpected. I would assume that again every
z
upstream cell (x
andy
) get executed but onlyx
is actually executed because due to Step 3z
is no longer a downstream dependency ofy
.Step 4 ipflow Notebook metadata.json
Subsequent
normal executions
(cmd+enter) seem to repair that problem again one downstream dependency at a time. So the first normal execution andy=
is executed and a second normal execution => the lastdeps
cell is also executed.This behaviour is to some degree understandable because one does not know if
z
cell still exists, if one only executes untily
but is there some way to preserve such downstream deps metadata from previous executions or execute/build the dependency graph of the whole notebook also for partial (cmd + k) executions ?Ipyflow Version: 0.0.200
Jupyter versions:
The text was updated successfully, but these errors were encountered: