---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[24], line 1
----> 1 view.view(u2_energy, u3_energy, subtitles=["Visualization is Easy!", "Wow! Great Structure!"])
File [~/dev/personal/qcworkflow/.venv/lib/python3.13/site-packages/qcio/view.py:754](http://localhost:8888/home/cbh/dev/personal/qcworkflow/.venv/lib/python3.13/site-packages/qcio/view.py#line=753), in view(*objs, **kwargs)
751 structures(*objs, **kwargs) # type: ignore
753 elif isinstance(obj, ProgramOutput):
--> 754 program_outputs(obj, **kwargs)
756 else:
757 raise NotImplementedError(f"Viewing of {type(obj)} is not implemented.")
File [~/dev/personal/qcworkflow/.venv/lib/python3.13/site-packages/qcio/view.py:690](http://localhost:8888/home/cbh/dev/personal/qcworkflow/.venv/lib/python3.13/site-packages/qcio/view.py#line=689), in program_outputs(animate, struct_viewer, conformer_rmsd_threshold, conformer_rmsd_kwargs, *prog_outputs, **kwargs)
685 else:
686 raise NotImplementedError(
687 f"Viewing of {type(po.results)} is not yet implemented."
688 )
--> 690 structure_html = generate_structure_viewer_html(
691 for_viewer,
692 titles_extra=[title_extra],
693 **kwargs,
694 )
696 # Create results table or plot
697 if isinstance(po.results, OptimizationResults):
File [~/dev/personal/qcworkflow/.venv/lib/python3.13/site-packages/qcio/view.py:158](http://localhost:8888/home/cbh/dev/personal/qcworkflow/.venv/lib/python3.13/site-packages/qcio/view.py#line=157), in generate_structure_viewer_html(width, height, titles, subtitles, titles_extra, subtitles_extra, distances, length_unit, style, show_indices, same_viewer, view_2d, interval, *structs)
156 smiles = struct[0].ids.smiles
157 else:
--> 158 name = struct.ids.name
159 smiles = struct.ids.smiles
161 title = f"{title or name or smiles or ''}"
AttributeError: 'NoneType' object has no attribute 'ids'
With two ProgramOutputs and subtitles:
Error: