Skip to content

Commit d4f5549

Browse files
authored
Merge pull request #4 from danforthcenter/zeeuqsze-threshold-repo-dl
Updated Colab Environment Detection
2 parents 5ff07dc + 18c2e05 commit d4f5549

6 files changed

Lines changed: 30 additions & 0 deletions

modules/01.thresholding.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
" # Give access and mount your Google Drive (need a Google Account)\n",
3131
" from google.colab import drive\n",
3232
" drive.mount('/content/gdrive')\n",
33+
" %cd '/content/gdrive/MyDrive/'\n",
34+
"\n",
35+
" # Clone the GitHub repo to access to necessary files in the tutorial\n",
36+
" !git clone https://github.com/danforthcenter/plantcv-tutorial-threshold.git\n",
37+
" %cd './plantcv-tutorial-threshold/modules/'\n",
3338
" \n",
3439
" # Enable widget feature with matplotlib\n",
3540
" from google.colab import output\n",

modules/02.edge-detection.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
" # Give access and mount your Google Drive (need a Google Account)\n",
2929
" from google.colab import drive\n",
3030
" drive.mount('/content/gdrive')\n",
31+
" %cd '/content/gdrive/MyDrive/'\n",
32+
"\n",
33+
" # Clone the GitHub repo to access to necessary files in the tutorial\n",
34+
" !git clone https://github.com/danforthcenter/plantcv-tutorial-threshold.git\n",
35+
" %cd './plantcv-tutorial-threshold/modules/'\n",
3136
" \n",
3237
" # Enable widget feature with matplotlib\n",
3338
" from google.colab import output\n",

modules/03.supervised-machine-learning.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
" # Give access and mount your Google Drive (need a Google Account)\n",
2929
" from google.colab import drive\n",
3030
" drive.mount('/content/gdrive')\n",
31+
" %cd '/content/gdrive/MyDrive/'\n",
32+
"\n",
33+
" # Clone the GitHub repo to access to necessary files in the tutorial\n",
34+
" !git clone https://github.com/danforthcenter/plantcv-tutorial-threshold.git\n",
35+
" %cd './plantcv-tutorial-threshold/modules/'\n",
3136
" \n",
3237
" # Enable widget feature with matplotlib\n",
3338
" from google.colab import output\n",

modules/04.unsupervised-machine-learning.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
" # Give access and mount your Google Drive (need a Google Account)\n",
2929
" from google.colab import drive\n",
3030
" drive.mount('/content/gdrive')\n",
31+
" %cd '/content/gdrive/MyDrive/'\n",
32+
"\n",
33+
" # Clone the GitHub repo to access to necessary files in the tutorial\n",
34+
" !git clone https://github.com/danforthcenter/plantcv-tutorial-threshold.git\n",
35+
" %cd './plantcv-tutorial-threshold/modules/'\n",
3136
" \n",
3237
" # Enable widget feature with matplotlib\n",
3338
" from google.colab import output\n",

modules/05.background-subtraction.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
" # Give access and mount your Google Drive (need a Google Account)\n",
3333
" from google.colab import drive\n",
3434
" drive.mount('/content/gdrive')\n",
35+
" %cd '/content/gdrive/MyDrive/'\n",
36+
"\n",
37+
" # Clone the GitHub repo to access to necessary files in the tutorial\n",
38+
" !git clone https://github.com/danforthcenter/plantcv-tutorial-threshold.git\n",
39+
" %cd './plantcv-tutorial-threshold/modules/'\n",
3540
" \n",
3641
" # Enable widget feature with matplotlib\n",
3742
" from google.colab import output\n",

modules/06.2d-thresholding.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
" # Give access and mount your Google Drive (need a Google Account)\n",
3131
" from google.colab import drive\n",
3232
" drive.mount('/content/gdrive')\n",
33+
" %cd '/content/gdrive/MyDrive/'\n",
34+
"\n",
35+
" # Clone the GitHub repo to access to necessary files in the tutorial\n",
36+
" !git clone https://github.com/danforthcenter/plantcv-tutorial-threshold.git\n",
37+
" %cd './plantcv-tutorial-threshold/modules/'\n",
3338
" \n",
3439
" # Enable widget feature with matplotlib\n",
3540
" from google.colab import output\n",

0 commit comments

Comments
 (0)