Skip to content

Commit

Permalink
Fix lazy-loaded optimade mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Nov 6, 2024
1 parent c40bbf7 commit 9025ba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/aiidalab_qe/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from aiidalab_qe.app.submission import SubmitQeAppWorkChainStep
from aiidalab_qe.app.submission.model import SubmissionModel
from aiidalab_qe.common.widgets import LoadingWidget
from aiidalab_widgets_base import WizardAppWidget, WizardAppWidgetStep
from aiidalab_widgets_base import WizardAppWidget


class App(ipw.VBox):
Expand Down
2 changes: 1 addition & 1 deletion src/aiidalab_qe/common/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def _on_render_click(self, _):
class LazyLoadedOptimade(LazyLoadedStructureImporter):
warning_message = "OPTIMADE may take some time to load"

def _get_children(self):
def _get_widget(self):
from aiidalab_widgets_base.databases import OptimadeQueryWidget

return OptimadeQueryWidget(embedded=False)
Expand Down

0 comments on commit 9025ba1

Please sign in to comment.