Skip to content

Commit d0f4a92

Browse files
committed
add missing app(assets_folder=...) kwarg in apps/examples/structure.py
1 parent 50debde commit d0f4a92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crystal_toolkit/apps/examples/structure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# standard Dash imports
22
import dash
3-
from dash import dcc
43
from dash import html
54

65
# import for this example
7-
from pymatgen.core.structure import Structure
86
from pymatgen.core.lattice import Lattice
7+
from pymatgen.core.structure import Structure
98

109
# standard Crystal Toolkit import
1110
import crystal_toolkit.components as ctc
11+
from crystal_toolkit.settings import SETTINGS
1212

1313
# create Dash app as normal
14-
app = dash.Dash()
14+
app = dash.Dash(assets_folder=SETTINGS.ASSETS_PATH)
1515

1616
# create the Structure object
1717
structure = Structure(

0 commit comments

Comments
 (0)