Skip to content

Commit

Permalink
Correct Path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tris Jin authored and Tris Jin committed Dec 21, 2022
1 parent e9ead9e commit 5c6cafc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions regression/regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"import os\n",
"\n",
"# folder path\n",
"dir_path = \"/home/tigergraph/GML\"\n",
"dir_path = \"/home/tigergraph/GraphML\"\n",
"\n",
"# list to store files\n",
"notebook_list = []\n",
Expand Down Expand Up @@ -659,7 +659,7 @@
"import psutil\n",
"%load_ext memory_profiler\n",
"\n",
"notebook_performance_out = '/home/tigergraph/GML/output/performance.txt'\n",
"notebook_performance_out = '/home/tigergraph/GraphML/output/performance.txt'\n",
"\n",
"for nb_file in notebook_list:\n",
" \n",
Expand All @@ -668,11 +668,11 @@
" \n",
" print ('Executing notebook: ' + nb_file)\n",
" \n",
" root = '/home/tigergraph/GML/'\n",
" root = '/home/tigergraph/GraphML/'\n",
" \n",
" nb_file = nb_file.replace(\"./\", root)\n",
" \n",
" cmd = 'cd {} && jupyter nbconvert --to html --execute {} --output-dir=/home/tigergraph/GML/output/{}'.format(os.path.dirname(nb_file), os.path.basename(nb_file), nb_file.replace(\"/home/tigergraph/GML/\", \"\"))\n",
" cmd = 'cd {} && jupyter nbconvert --to html --execute {} --output-dir=/home/tigergraph/GraphML/output/{}'.format(os.path.dirname(nb_file), os.path.basename(nb_file), nb_file.replace(\"/home/tigergraph/GraphML/\", \"\"))\n",
" \n",
" # print (cmd)\n",
" \n",
Expand Down

0 comments on commit 5c6cafc

Please sign in to comment.