You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was created with the app's automated bug reporting feature.
Attached to this issue is the full traceback as well as an environment
fingerprint that contains information about the operating system as well as all
installed libraries.
Additional comments (optional):
_Example: I submitted a PDOS calculation with a 2D structure, and the app crashed due to the Summary
Attachments
Traceback
~/.local/lib/python3.9/site-packages/traitlets/traitlets.py in _notify_observers(self, event)
1562 c = getattr(self, c.name)
1563
-> 1564 c(event)
1565
1566 def _add_notifiers(self, handler, name, type):
~/apps/quantum-espresso/src/aiidalab_qe/app/result/components/summary/summary.py in _on_process_change(self, _)
16def_on_process_change(self, _):
17ifnotself.has_settings_report:
---> 18 self._render_summary()
1920def_on_monitor_counter_change(self, _):
~/apps/quantum-espresso/src/aiidalab_qe/app/result/components/summary/summary.py in _render_summary(self)
3233 settings_summary = ipw.HTML(
---> 34 value=self._model.generate_report_html(),
35 )
36 settings_summary.add_class("summary-panel")
~/apps/quantum-espresso/src/aiidalab_qe/app/result/components/summary/model.py in generate_report_html(self)
81 )
82 style = files(styles).joinpath("style.css").read_text()
---> 83 parameters = self._generate_report_parameters()
84 report = {key: value for key, value in parameters.items() if value isnotNone}
85
~/apps/quantum-espresso/src/aiidalab_qe/app/result/components/summary/model.py in _generate_report_parameters(self)
182"num_atoms": len(initial_structure.sites),
183"space_group": "{} ({})".format(
--> 184 *initial_structure.get_pymatgen().get_space_group_info()
185 ),
186"cell_lengths": "{:.3f}{:.3f}{:.3f}".format(
AttributeError: 'Molecule' object has no attribute 'get_space_group_info'
By submitting this issue I confirm that I am aware that this information can
potentially be used to determine what kind of calculation was performed at the
time of error.
When working with an aiida StructrureData , the get_pymatgen() will fail for structures with pbc != (True,True,True)
Test with aiida AiiDA v2.5.1
The text was updated successfully, but these errors were encountered:
Similarly, there should be a test for molecules (they might fail too) to determine what to report for the space group. For molecules, it might be more appropriate to report the point group. However, since this might not be straightforward, we could omit the space group information for molecules, as done in AiiDAlab-widgets-base.
AndresOrtegaGuerrero
changed the title
Summary Report 2D and 1D structures
Summary Report fails for 2D and 1D structures
Jan 4, 2025
AndresOrtegaGuerrero
changed the title
Summary Report fails for 2D and 1D structures
Application Crashed: Summary Report fails for 2D and 1D structures
Jan 5, 2025
Automated report
This issue was created with the app's automated bug reporting feature.
Attached to this issue is the full traceback as well as an environment
fingerprint that contains information about the operating system as well as all
installed libraries.
Additional comments (optional):
_Example: I submitted a PDOS calculation with a 2D structure, and the app crashed due to the Summary
Attachments
Traceback
Environment fingerprint
By submitting this issue I confirm that I am aware that this information can
potentially be used to determine what kind of calculation was performed at the
time of error.
When working with an aiida StructrureData , the get_pymatgen() will fail for structures with pbc != (True,True,True)
Test with aiida AiiDA v2.5.1
The text was updated successfully, but these errors were encountered: