We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50debde commit d0f4a92Copy full SHA for d0f4a92
crystal_toolkit/apps/examples/structure.py
@@ -1,17 +1,17 @@
1
# standard Dash imports
2
import dash
3
-from dash import dcc
4
from dash import html
5
6
# import for this example
7
-from pymatgen.core.structure import Structure
8
from pymatgen.core.lattice import Lattice
+from pymatgen.core.structure import Structure
9
10
# standard Crystal Toolkit import
11
import crystal_toolkit.components as ctc
+from crystal_toolkit.settings import SETTINGS
12
13
# create Dash app as normal
14
-app = dash.Dash()
+app = dash.Dash(assets_folder=SETTINGS.ASSETS_PATH)
15
16
# create the Structure object
17
structure = Structure(
0 commit comments