InformaticsMatters / portal

lac portal
Apache License 2.0
0 stars 0 forks source link

Wrong status message displayed for different notebook versions #46

Open tdudgeon opened 8 years ago

tdudgeon commented 8 years ago

If you create two versions of a notebook that share the same cell (e.g. the cell was present in the common parent and so has the same cell ID), but execute them with different parameters and get different numbers of results then the wrong status message is show when the notebook is loaded. The message seems to be the one from the last cell that was executed. The underlying data is correct, just the message that is displayed saying how many results are present is wrong.

See this example: image The intermediate cell says there are no results, but in the table there clearly are.

I believe this is because the cell execution status is being saved separately to to the notebook/cell definition, but I don't understand all the details here. Possibly the solution is to store the status within the notebook/cell definition? This needs discussion.