Conversation
…into notebook_executor
…ls to expand cmd args correctly.
…use_db_server False
…into notebook_executor
…into notebook_executor
…into notebook_executor
…into notebook_executor
…into issue_1185_jupyter_notebook
|
Ok thanks, got it working and ran my first .ipynb file. I'll test some more and post comments tomorrow. |
|
About the icon. How about this: |
|
There's been some changes to the Tools spec editor window. Do you mind updating the Notebook spec editor window so they are consistent. EDIT |
|
The logger in papermill.execute_notebook() is the regular python
|
|
I definitely want to give this one a try but I'm a bit busy at the moment. I wouldn't mind if you merge it before I get to try it out, too. |
|
|
Shouldn't it be in spine_engine setup.py instead? |
I missed the fact that the package is imported only in the executable item so I guess |
|
@RichieBrady FYI to make testing different spine_items branches easier, I moved EDIT And of course I did not test it enough. You need to add an additional |
|
The code needs a bit of house cleaning. There are some leftover methods from Tool that are surely not used by Notebook (for example, |
|
I wouldn't mind if my name was dropped from the |
| spec_model_index = self._toolbox.specification_model.specification_index(self.specification().name) | ||
| spec_menu = NotebookSpecificationMenu(self._toolbox, spec_model_index) | ||
| actions = {a.text(): a for a in spec_menu.actions()} | ||
| self._actions = [actions["Edit specification"], actions["Open jupyter notebook"]] |
There was a problem hiding this comment.
Context-menu don't work because of a typo here. Should be Jupyter (capital J)
|
Execution in Source directory fails with this traceback |
|
A nice to have improvement. Double-clicking a Notebook item on Design View should open the notebook spec editor window (Like a Tool does). |
…ecutionManager to execute papermill command. Currently supports python and julia notebooks.
…into issue_1185_jupyter_notebook
Codecov Report
@@ Coverage Diff @@
## master #59 +/- ##
==========================================
- Coverage 60.57% 60.19% -0.39%
==========================================
Files 241 265 +24
Lines 18244 19992 +1748
==========================================
+ Hits 11052 12034 +982
- Misses 7192 7958 +766
Continue to review full report at Codecov.
|
|
It looks like @RichieBrady is unable to continue this? How do we proceed then? @PekkaSavolainen @soininen @ererkka @jkiviluo ? |
|
To be continued in v0.8. See spine-tools/Spine-Toolbox#1185. |
@PekkaSavolainen This branch is up to date with the latest from today. The dependency for papermill is still in spine items, I am starting to move this to the engine. Note that this requires an update to the toolbox. I will make a pull request for that now.