Skip to content

Commit 02e57a0

Browse files
authored
Merge pull request #520 from materialsproject/fix-crystal-download
fix download with different unit cell types
2 parents 95da75f + ea228df commit 02e57a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crystal_toolkit/components/structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def download_image(image_data_timestamp, image_data, data):
489489
Output(self.id("download-structure"), "data"),
490490
Input(self.id("scene"), "fileTimestamp"),
491491
State(self.id("scene"), "fileType"),
492-
State(self.id(), "data"),
492+
State(self.id("graph"), "data"),
493493
)
494494
def download_structure(file_timestamp, download_option, data):
495495
if not file_timestamp:

0 commit comments

Comments
 (0)