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 want to have to directory trees with the same structure, but one with the ipynb files, and another one with python files.
Maybe we could use, say jupytext.formats="/notebooks//ipynb,/scripts//py" (using e.g. the initial / to indicate that path is matched from the root rather than from the parent dir) to pair notebooks and scripts in trees rooted at /notebooks and /scripts. For example, /notebooks/foo/bar/qqq.ipynb would be paired with /scripts/foo/bar/qqq.py.
The text was updated successfully, but these errors were encountered:
I have implemented something like this in Jupytext 1.5.0 (RC coming soon). You'll have to use e.g. jupytext.formats="notebooks///ipynb,scripts///py" (triple slash), and this gives the pairing in tree. See for instance this test:
That was suggested by @technic at #265:
Maybe we could use, say
jupytext.formats="/notebooks//ipynb,/scripts//py"
(using e.g. the initial / to indicate that path is matched from the root rather than from the parent dir) to pair notebooks and scripts in trees rooted at/notebooks
and/scripts
. For example,/notebooks/foo/bar/qqq.ipynb
would be paired with/scripts/foo/bar/qqq.py
.The text was updated successfully, but these errors were encountered: