Skip to content

[Bug]: Exporting molecules from either the Materials Project or locally built websites using Crystal Toolkit is not working #522

@mukesh4iitb

Description

@mukesh4iitb

Code snippet

import crystal_toolkit.components as ctc
...
...
mol_graph = MoleculeGraph.from_local_env_strategy(structure, strategy)
comp = ctc.StructureMoleculeComponent(mol_graph)
...
...

What happened?

Hello crystal Toolkit users,

I am trying to build a local website for my molecules database using crystal toolkit. But export option is not working. Furthermore, I also, noticed that export option of molecules at the material project is not working as well. For example, opening the molecule at this link.
https://next-gen.materialsproject.org/molecules/042b6da7a6eb790fd5038f3729ef715c-C5H8O3-m1-2
Export option is visible, but it does not download the structure file.

Any suggestions that help to work export option will be highly appreciable.

Thanks,
Mukesh Singh

Version

crystal_toolkit version: 2026.1.22.post0

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