diff --git a/examples/other/2-scheduling.ipynb b/examples/other/2-scheduling.ipynb index df616fbf..ffe6782b 100644 --- a/examples/other/2-scheduling.ipynb +++ b/examples/other/2-scheduling.ipynb @@ -689,14 +689,13 @@ } ], "source": [ - "\n", "%%bash\n", "\n", "# Define the folder path\n", "DATA_PATH=\"./taillard\"\n", "\n", "# Check if the folder exists\n", - "if [ -d \"$FOLDER_PATH\" ]; then\n", + "if [ -d \"$DATA_PATH\" ]; then\n", " echo \"Folder already exists.\"\n", "else\n", " echo \"Folder does not exist. Creating folder and downloading taillard instances...\"\n", @@ -706,7 +705,9 @@ " ! wget http://mistic.heig-vd.ch/taillard/problemes.dir/ordonnancement.dir/jobshop.dir/tai20_20.txt -O taillard/tai20_20.txt\n", " ! wget http://mistic.heig-vd.ch/taillard/problemes.dir/ordonnancement.dir/jobshop.dir/tai30_15.txt -O taillard/tai30_15.txt\n", " ! wget http://mistic.heig-vd.ch/taillard/problemes.dir/ordonnancement.dir/jobshop.dir/tai30_20.txt -O taillard/tai30_20.txt\n", - "fi" + "fi\n", + "\n", + "exit 0" ] }, {