Skip to content

[Bug]: Bonds are not shown for Molecule objects #458

@exenGT

Description

@exenGT

Code snippet

import pymatgen.core as pmg
import crystal_toolkit

mol = pmg.Molecule.from_file("H2O.xyz")
mol

What happened?

I find crystal-toolkit a great tool for visualizing crystal structures. However, there seems to be a bit of issue for molecules. It appears that no bonds can be visualized for molecules, regardless of the bonding strategy chosen (see attached screenshot below). I would really appreciate it if this issue could be fixed. Thanks!

Image

Version

v2023.11.3

Which OS?

  • MacOS
  • Windows
  • Linux

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions