Skip to content

Commit 856af09

Browse files
committed
Fix KeyError due to incorrect key
1 parent c7eb79a commit 856af09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crystal_toolkit/components/structure.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,7 @@ def download_structure(n_clicks, download_option, data):
478478

479479
if "VASP" not in download_option:
480480

481-
extension = self.download_options["Structure"][download_option][
482-
"download_options"
483-
]
481+
extension = self.download_options["Structure"][download_option]["fmt"]
484482
options = self.download_options["Structure"][download_option]
485483

486484
try:

0 commit comments

Comments
 (0)