Skip to content

fix download with different unit cell types#520

Merged
minhsueh merged 1 commit intomainfrom
fix-crystal-download
Mar 26, 2026
Merged

fix download with different unit cell types#520
minhsueh merged 1 commit intomainfrom
fix-crystal-download

Conversation

@minhsueh
Copy link
Copy Markdown
Collaborator

Bug fix for the report.

Download options –> the crystal viewer gives 6 download options, ALL of them are the conventional cell.

Root cause:

State(self.id(), "data"),

The original code uses the structure from the Docs, which is why the downloaded structures are the same every time.

Fix:

State(self.id("graph"), "data"),

Use the current generated graph data, which has been modified with the user's desired graph_generation_options.

@minhsueh minhsueh merged commit 02e57a0 into main Mar 26, 2026
7 checks passed
@minhsueh minhsueh deleted the fix-crystal-download branch March 26, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant