mikibonacci / aiidalab-qe-vibroscopy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'PhononBandPdosPlotly' object has no attribute '_create_combined_plot'

superstar54 opened this issue · comments

I did a test calculation using Si, the calculation finished successfully, but I got error when visualizing the result.

AttributeError                            Traceback (most recent call last)
~/.local/lib/python3.9/site-packages/aiidalab_widgets_base/viewers.py in _observe_node(self, change)
     78                 clear_output()
     79                 if change["new"]:
---> 80                     display(viewer(change["new"]))
     81 
     82 

~/.local/lib/python3.9/site-packages/aiidalab_widgets_base/viewers.py in viewer(obj, **kwargs)
     54 
     55     if _viewer:
---> 56         return _viewer(obj, **kwargs)
     57     else:
     58         # No viewer registered for this type, return object itself

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/result/workchain_viewer.py in __init__(self, node, **kwargs)
     84 
     85         self.result_tabs.observe(on_selected_index_change, "selected_index")
---> 86         self._update_view()
     87 
     88         super().__init__(

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/result/workchain_viewer.py in _update_view(self)
    123                     ]
    124                     if all(results_ready):
--> 125                         result._update_view()
    126                         self._results_shown.add(result.identifier)
    127                         # add this plugin result panel

~/.local/lib/python3.9/site-packages/aiidalab_qe_vibroscopy/app/result.py in _update_view(self)
     93                     pdos_data=phonon_data["pdos"][0],
     94                 )
---> 95                 phonon_children += (_bands_plot_view_class._create_combined_plot(),)
     96 
     97             if phonon_data["thermo"]:

AttributeError: 'PhononBandPdosPlotly' object has no attribute '_create_combined_plot'