Skip to content

Convert to Jupytext  #58

@axiomcura

Description

@axiomcura

Instead of creating a separate directory for nbconverted consider using jupytext to automatically create a file pairing next to the notebook itself. This would help make the filenames/dirs more agnostic and remove complexity (nested dirs add places for things to hide, making it more complex).

If you need VS Code to work with your notebooks for automatically saving consider adding something like a run-on-save plugin combined with the following in your settings.json.

"emeraldwalk.runonsave": {
         "commands": [
            {
                "match": ".*\\.ipynb$",
                "cmd": "bash -lc '(${command:python.interpreterPath} -m jupytext --sync \"${file}\" 2>/dev/null) || (python -m jupytext --sync \"${file}\" 2>/dev/null) || (python3 -m jupytext --sync \"${file}\")'"
            }
            ]
    },

Originally posted by @d33bs in #57 (comment)

Seems like a great idea, unfortunately I will do this later. towards the finalization of the analytical notebook

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