File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 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 {
Original file line number Diff line number Diff line change 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 {
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" : {
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 ,
You can’t perform that action at this time.
0 commit comments