From 2bc67b4a96876cefd55efc6ded6363e94968c670 Mon Sep 17 00:00:00 2001 From: Jonathan Raviotta Date: Wed, 7 Aug 2019 20:47:37 -0400 Subject: [PATCH] missed a call of os.path. removed it. --- user_data/notebooks/analysis_example.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user_data/notebooks/analysis_example.ipynb b/user_data/notebooks/analysis_example.ipynb index 298269c7a..d14575e97 100644 --- a/user_data/notebooks/analysis_example.ipynb +++ b/user_data/notebooks/analysis_example.ipynb @@ -16,8 +16,9 @@ "# Change directory\n", "# Define all paths relative to the project root shown in the cell output\n", "import os\n", + "from pathlib import Path\n", "try:\n", - "\tos.chdir(os.path.join(os.getcwd(), '../..'))\n", + "\tos.chdir(Path(os.getcwd(), '../..'))\n", "\tprint(os.getcwd())\n", "except:\n", "\tpass"