Skip to content

Commit b7b5c6e

Browse files
committed
Use documentation profile
1 parent c686032 commit b7b5c6e

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

notebooks/viewers.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
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.manage.configuration import load_documentation_profile\n",
11+
"\n",
12+
"load_documentation_profile()"
1213
]
1314
},
1415
{

notebooks/wizard_apps.ipynb

Lines changed: 5 additions & 3 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
{

0 commit comments

Comments
 (0)