Skip to content

Commit d03dfa9

Browse files
committed
Use documentation profile
1 parent c686032 commit d03dfa9

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

notebooks/viewers.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
"metadata": {},
77
"outputs": [],
88
"source": [
9-
"# Load the default AiiDA profile.\n",
10-
"from aiida import orm, load_profile\n",
11-
"load_profile();"
9+
"# default profile of the AiiDA installation is not configured.\n",
10+
"from aiida import orm\n",
11+
"from aiida.manage.configuration import load_documentation_profile\n",
12+
"\n",
13+
"load_documentation_profile()"
1214
]
1315
},
1416
{

notebooks/wizard_apps.ipynb

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "b5256919",
16+
"id": "edfc9c5a",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
20-
"from aiida import load_profile\n",
20+
"# Load the dummy profile to make sure the docs build succeed even if the current\n",
21+
"# default profile of the AiiDA installation is not configured.\n",
22+
"from aiida.manage.configuration import load_documentation_profile\n",
2123
"\n",
22-
"load_profile();"
24+
"load_documentation_profile()"
2325
]
2426
},
2527
{
@@ -323,6 +325,14 @@
323325
"# Display the app to the user.\n",
324326
"display(app)"
325327
]
328+
},
329+
{
330+
"cell_type": "code",
331+
"execution_count": null,
332+
"id": "4672a973",
333+
"metadata": {},
334+
"outputs": [],
335+
"source": []
326336
}
327337
],
328338
"metadata": {
@@ -341,7 +351,7 @@
341351
"name": "python",
342352
"nbconvert_exporter": "python",
343353
"pygments_lexer": "ipython3",
344-
"version": "3.9.13"
354+
"version": "3.9.15"
345355
}
346356
},
347357
"nbformat": 4,

0 commit comments

Comments
 (0)