Skip to content

python script with ds.publish() invoked from JupyterLab terminal to trigger commit #22

@eugenemi

Description

@eugenemi

As a user I want to run script wiht ds.publish() from jupyterLab terminal and see my changes published to project resources so I can work iteratively using jupyterLab and script and record various versions as I make progress.

Note - if that's too difficult, perhaps ds.publish() can fail with "Can not perform ds.publish() from JupiterLab terminal" in order not to confuse the user.

Background:
I was testing ds.publish() from a script that I run in jupyterLab terminal.
I don't see the the updates to files under project resources.
And Dotscience tab below shows 'waiting'.
Screen Shot 2019-05-22 at 10 59 26 AM
Luke: that's expected behaviour at the moment.
The committer only picks up metadata written as stdout thru ds run or written into an ipynb
It would be really cool if it could work in interactive command mode from inside Jupyter though, I can think of a couple of ways that could work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions