Skip to content

Commit 6891102

Browse files
committed
* rm .py files
* add tutorial extra download for colab
1 parent 78c6427 commit 6891102

35 files changed

Lines changed: 55 additions & 4258 deletions

tutorials/TUTORIAL_GUIDELINES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ except:
5656
IN_COLAB = False
5757

5858
if IN_COLAB:
59-
!pip install "pina-mathlab"
59+
!pip install "pina-mathlab[tutorial]"
6060

6161
import torch # if used
6262
import matplotlib.pyplot as plt # if used

tutorials/tutorial1/tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
{
2828
"cell_type": "code",
29-
"execution_count": 1,
29+
"execution_count": null,
3030
"id": "86478a84",
3131
"metadata": {},
3232
"outputs": [],
@@ -39,7 +39,7 @@
3939
"except:\n",
4040
" IN_COLAB = False\n",
4141
"if IN_COLAB:\n",
42-
" !pip install \"pina-mathlab\"\n",
42+
" !pip install \"pina-mathlab[tutorial]\"\n",
4343
"\n",
4444
"import warnings\n",
4545
"import torch\n",

tutorials/tutorial1/tutorial.py

Lines changed: 0 additions & 340 deletions
This file was deleted.

tutorials/tutorial10/tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
{
1818
"cell_type": "code",
19-
"execution_count": 2,
19+
"execution_count": null,
2020
"metadata": {},
2121
"outputs": [],
2222
"source": [
@@ -28,7 +28,7 @@
2828
"except:\n",
2929
" IN_COLAB = False\n",
3030
"if IN_COLAB:\n",
31-
" !pip install \"pina-mathlab\"\n",
31+
" !pip install \"pina-mathlab[tutorial]\"\n",
3232
" # get the data\n",
3333
" !mkdir \"data\"\n",
3434
" !wget \"https://github.com/mathLab/PINA/raw/refs/heads/master/tutorials/tutorial10/data/Data_KS.mat\" -O \"data/Data_KS.mat\"\n",

0 commit comments

Comments
 (0)