-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
144dac7
commit ab69f31
Showing
5 changed files
with
88 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,56 @@ | |
"execution_count": 2, | ||
"id": "a8549863", | ||
"metadata": {}, | ||
"outputs": [], | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"application/vnd.jupyter.widget-view+json": { | ||
"model_id": "a2abe40204ac4a478c99cb6f8ba683b4", | ||
"version_major": 2, | ||
"version_minor": 0 | ||
}, | ||
"text/plain": [] | ||
}, | ||
"metadata": {}, | ||
"output_type": "display_data" | ||
}, | ||
{ | ||
"data": { | ||
"text/html": [ | ||
"\n", | ||
"<div style=\"background-color: #f7f7f7; border: 2px solid #e0e0e0; padding: 20px; border-radius: 5px;\">\n", | ||
" <p style=\"font-size: 16px; font-weight: bold; color: #ff5733;\">Warning:</p>\n", | ||
" <p style=\"font-size: 14px;\">The default profile '<span style=\"font-style: italic;\">default</span>' was loaded automatically. This behavior will be removed in the <span style=\"font-style: italic;\">v3.0.0</span>. Please load the profile manually before loading modules from aiidalab-widgets-base by adding the following code at the beginning cell of the notebook:</p>\n", | ||
" <pre style=\"background-color: #f0f0f0; padding: 10px; border: 1px solid #ccc; font-family: 'Courier New', monospace;\">\n", | ||
"from aiida import load_profile\n", | ||
"load_profile();</pre>\n", | ||
"</div>\n" | ||
], | ||
"text/plain": [ | ||
"<IPython.core.display.HTML object>" | ||
] | ||
}, | ||
"metadata": {}, | ||
"output_type": "display_data" | ||
}, | ||
{ | ||
"data": { | ||
"application/javascript": [ | ||
"\n", | ||
" var style = document.createElement('style');\n", | ||
" style.type = 'text/css';\n", | ||
" style.innerHTML = ``;\n", | ||
" document.head.appendChild(style);\n", | ||
" " | ||
], | ||
"text/plain": [ | ||
"<IPython.core.display.Javascript object>" | ||
] | ||
}, | ||
"metadata": {}, | ||
"output_type": "display_data" | ||
} | ||
], | ||
"source": [ | ||
"# Fix pybel import path\n", | ||
"try:\n", | ||
|
@@ -64,7 +113,7 @@ | |
{ | ||
"data": { | ||
"application/vnd.jupyter.widget-view+json": { | ||
"model_id": "5230d58511154ade9207b38bd0fa35a6", | ||
"model_id": "aec117638bca4fb998fcec2ce07f9d0d", | ||
"version_major": 2, | ||
"version_minor": 0 | ||
}, | ||
|
@@ -86,7 +135,9 @@ | |
" '<p style=\"text-align:right;\">Copyright (c) 2024 Miki Bonacci (PSI), [email protected];  Version: 0.1.1</p>'\n", | ||
")\n", | ||
"\n", | ||
"widget = EuphonicSuperWidget(mode=\"detached\")\n", | ||
"from aiidalab_qe_vibroscopy.app.widgets.euphonicmodel import EuphonicBaseResultsModel\n", | ||
"\n", | ||
"widget = EuphonicSuperWidget(mode=\"detached\", model=EuphonicBaseResultsModel())\n", | ||
"\n", | ||
"output = ipw.Output()\n", | ||
"\n", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters