Rename existing notebooks using order numbers

This commit is contained in:
Alexander Hess 2021-02-04 15:10:14 +01:00
parent 241e7ed81f
commit 28a7c7451c
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
3 changed files with 5 additions and 5 deletions

View file

@ -114,7 +114,7 @@
" shutil.rmtree(r_libs_path)\n", " shutil.rmtree(r_libs_path)\n",
"except FileNotFoundError:\n", "except FileNotFoundError:\n",
" pass\n", " pass\n",
"os.mkdir(r_libs_path)" "os.makedirs(r_libs_path)"
] ]
}, },
{ {

View file

@ -192,7 +192,7 @@
"source": [ "source": [
"%cd -q ..\n", "%cd -q ..\n",
"!alembic upgrade f11cd76d2f45\n", "!alembic upgrade f11cd76d2f45\n",
"%cd -q notebooks" "%cd -q research"
] ]
}, },
{ {
@ -7647,7 +7647,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.8.5" "version": "3.8.6"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -3,7 +3,7 @@
The purpose of this module is to import all the R packages that are installed The purpose of this module is to import all the R packages that are installed
into a sub-folder (see `config.R_LIBS_PATH`) in the project's root directory. into a sub-folder (see `config.R_LIBS_PATH`) in the project's root directory.
The Jupyter notebook "research/r_dependencies.ipynb" can be used to install all The Jupyter notebook "research/00_r_dependencies.ipynb" can be used to install all
R dependencies on a Ubuntu/Debian based system. R dependencies on a Ubuntu/Debian based system.
""" """
@ -24,5 +24,5 @@ try: # noqa:WPS229
rpackages.importr('zoo') rpackages.importr('zoo')
except rpackages.PackageNotInstalledError: # pragma: no cover except rpackages.PackageNotInstalledError: # pragma: no cover
msg = 'See the "research/r_dependencies.ipynb" notebook!' msg = 'See the "research/00_r_dependencies.ipynb" notebook!'
raise rpackages.PackageNotInstalledError(msg) from None raise rpackages.PackageNotInstalledError(msg) from None