-
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.
fixing detached app and upload of files for INS.
- Loading branch information
1 parent
c9f7ef4
commit 4642444
Showing
4 changed files
with
26 additions
and
21 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 |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
{ | ||
"data": { | ||
"application/vnd.jupyter.widget-view+json": { | ||
"model_id": "a2abe40204ac4a478c99cb6f8ba683b4", | ||
"model_id": "152be27af20540b8aeeadd7fc2d2a462", | ||
"version_major": 2, | ||
"version_minor": 0 | ||
}, | ||
|
@@ -100,8 +100,8 @@ | |
"from IPython.display import display\n", | ||
"from jinja2 import Environment\n", | ||
"\n", | ||
"from aiidalab_qe_vibroscopy.utils.euphonic import static\n", | ||
"from aiidalab_qe_vibroscopy.utils.euphonic import EuphonicSuperWidget" | ||
"from aiidalab_qe_vibroscopy.utils.euphonic.detached_app import static\n", | ||
"from aiidalab_qe_vibroscopy.app.widgets.euphonicwidget import EuphonicWidget" | ||
] | ||
}, | ||
{ | ||
|
@@ -113,7 +113,7 @@ | |
{ | ||
"data": { | ||
"application/vnd.jupyter.widget-view+json": { | ||
"model_id": "aec117638bca4fb998fcec2ce07f9d0d", | ||
"model_id": "a4b4d2771766495f95056deffcc53a2b", | ||
"version_major": 2, | ||
"version_minor": 0 | ||
}, | ||
|
@@ -135,25 +135,21 @@ | |
" '<p style=\"text-align:right;\">Copyright (c) 2024 Miki Bonacci (PSI), [email protected];  Version: 0.1.1</p>'\n", | ||
")\n", | ||
"\n", | ||
"from aiidalab_qe_vibroscopy.app.widgets.euphonicmodel import EuphonicBaseResultsModel\n", | ||
"from aiidalab_qe_vibroscopy.app.widgets.euphonicmodel import EuphonicResultsModel\n", | ||
"\n", | ||
"widget = EuphonicSuperWidget(mode=\"detached\", model=EuphonicBaseResultsModel())\n", | ||
"widget = EuphonicWidget(\n", | ||
" model=EuphonicResultsModel(detached_app=True), detached_app=True\n", | ||
")\n", | ||
"widget.render()\n", | ||
"\n", | ||
"output = ipw.Output()\n", | ||
"\n", | ||
"with output:\n", | ||
" display(welcome_message, widget, footer)\n", | ||
"\n", | ||
"\n", | ||
"display(output)" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "22387f54", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
|
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