Skip to content

Commit 4a71795

Browse files
committed
Update to direct pip install of dapi
1 parent 5a36249 commit 4a71795

5 files changed

Lines changed: 31 additions & 25 deletions

File tree

examples/apps.ipynb

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@
1919
{
2020
"cell_type": "code",
2121
"execution_count": null,
22-
"id": "f00e089d",
23-
"metadata": {},
24-
"outputs": [],
25-
"source": [
26-
"!pip install dapi"
27-
]
28-
},
29-
{
30-
"cell_type": "code",
31-
"execution_count": 1,
3222
"id": "839fa332-70a6-4818-a190-18c9ca109c28",
3323
"metadata": {},
3424
"outputs": [
@@ -100,8 +90,16 @@
10090
}
10191
],
10292
"source": [
93+
"# Dapi installation\n",
10394
"!pip uninstall dapi --yes\n",
104-
"!pip install -e ../"
95+
"\n",
96+
"!pip install dapi --user --quiet\n",
97+
"\n",
98+
"# Install the latest development version of dapi from GitHub\n",
99+
"# !pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user --quiet\n",
100+
"\n",
101+
"# Install editable local version of dapi\n",
102+
"# !pip install -e ../"
105103
]
106104
},
107105
{

examples/db.ipynb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,16 @@
8585
}
8686
],
8787
"source": [
88+
"# Dapi installation\n",
8889
"!pip uninstall dapi --yes\n",
89-
"!pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user"
90+
"\n",
91+
"!pip install dapi --user --quiet\n",
92+
"\n",
93+
"# Install the latest development version of dapi from GitHub\n",
94+
"# !pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user --quiet\n",
95+
"\n",
96+
"# Install editable local version of dapi\n",
97+
"# !pip install -e ../"
9098
]
9199
},
92100
{
@@ -235,7 +243,7 @@
235243
],
236244
"metadata": {
237245
"kernelspec": {
238-
"display_name": "Python 3 (ipykernel)",
246+
"display_name": "dapi-ptztLUqK-py3.13",
239247
"language": "python",
240248
"name": "python3"
241249
},
@@ -249,7 +257,7 @@
249257
"name": "python",
250258
"nbconvert_exporter": "python",
251259
"pygments_lexer": "ipython3",
252-
"version": "3.11.6"
260+
"version": "3.13.3"
253261
}
254262
},
255263
"nbformat": 4,

examples/mpm-minimal.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
{
2020
"cell_type": "code",
21-
"execution_count": 1,
21+
"execution_count": null,
2222
"id": "d84cd553",
2323
"metadata": {},
2424
"outputs": [
@@ -311,14 +311,13 @@
311311
"# Dapi installation\n",
312312
"!pip uninstall dapi --yes\n",
313313
"\n",
314-
"# Upgrade dapi dependencies to avoid conflicts\n",
315-
"# !python -m pip install --upgrade numpy\n",
314+
"!pip install dapi --user --quiet\n",
316315
"\n",
317316
"# Install the latest development version of dapi from GitHub\n",
318317
"# !pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user --quiet\n",
319318
"\n",
320319
"# Install editable local version of dapi\n",
321-
"!pip install -e ../"
320+
"# !pip install -e ../"
322321
]
323322
},
324323
{

examples/mpm.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,13 @@
9393
"# Dapi installation\n",
9494
"!pip uninstall dapi --yes\n",
9595
"\n",
96-
"# Upgrade dapi dependencies to avoid conflicts\n",
97-
"# !python -m pip install --upgrade numpy\n",
96+
"!pip install dapi --user --quiet\n",
9897
"\n",
9998
"# Install the latest development version of dapi from GitHub\n",
10099
"# !pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user --quiet\n",
101100
"\n",
102101
"# Install editable local version of dapi\n",
103-
"!pip install -e ../"
102+
"# !pip install -e ../"
104103
]
105104
},
106105
{

examples/opensees/OpenSeesMP-dapi.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"cell_type": "code",
39-
"execution_count": 24,
39+
"execution_count": null,
4040
"id": "cell-4",
4141
"metadata": {},
4242
"outputs": [
@@ -55,8 +55,10 @@
5555
"# Dapi installation\n",
5656
"!pip uninstall dapi --yes\n",
5757
"\n",
58+
"!pip install dapi --user --quiet\n",
59+
"\n",
5860
"# Install the latest development version of dapi from GitHub\n",
59-
"!pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user --quiet\n",
61+
"# !pip install git+https://github.com/DesignSafe-CI/dapi.git@dev --user --quiet\n",
6062
"\n",
6163
"# Install editable local version of dapi\n",
6264
"# !pip install -e ../"
@@ -605,7 +607,7 @@
605607
],
606608
"metadata": {
607609
"kernelspec": {
608-
"display_name": "Python 3 (ipykernel)",
610+
"display_name": "dapi-ptztLUqK-py3.13",
609611
"language": "python",
610612
"name": "python3"
611613
},
@@ -619,7 +621,7 @@
619621
"name": "python",
620622
"nbconvert_exporter": "python",
621623
"pygments_lexer": "ipython3",
622-
"version": "3.12.10"
624+
"version": "3.13.3"
623625
}
624626
},
625627
"nbformat": 4,

0 commit comments

Comments
 (0)