Skip to content

Commit c8d2046

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a9ab1ff commit c8d2046

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+220
-244
lines changed

build/lib/crystal_toolkit/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def _repr_mimebundle_(self, include=None, exclude=None):
4343
This only works in Jupyter Lab 3.x or above.\n\n
4444
"""
4545

46-
help_text_plotly = """If you see this text, the Plotly Jupyter Lab extension
47-
is not installed, please consult Plotly documentation for information on how to
46+
help_text_plotly = """If you see this text, the Plotly Jupyter Lab extension
47+
is not installed, please consult Plotly documentation for information on how to
4848
install.
4949
"""
5050

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"10.26434/chemrxiv.11294480.v1": "D. Waroquiers, J. George, M. Horton, S. Schenk, K. Persson, G.-M. Rignanese, X. Gonze, and G. Hautier, \u201cChemEnv\u202f: A Fast and Robust Coordination Environment Identification Tool,\u201d Dec. 2019.\n", "10.3389/fmats.2017.00034": "N. E. R. Zimmermann, M. K. Horton, A. Jain, and M. Haranczyk, \u201cAssessing Local Structure Motifs Using Order Parameters for Motif Recognition, Interstitial Identification, and Diffusion Path Characterization,\u201d Frontiers in Materials, vol. 4, Nov. 2017.\n"}
1+
{"10.26434/chemrxiv.11294480.v1": "D. Waroquiers, J. George, M. Horton, S. Schenk, K. Persson, G.-M. Rignanese, X. Gonze, and G. Hautier, \u201cChemEnv\u202f: A Fast and Robust Coordination Environment Identification Tool,\u201d Dec. 2019.\n", "10.3389/fmats.2017.00034": "N. E. R. Zimmermann, M. K. Horton, A. Jain, and M. Haranczyk, \u201cAssessing Local Structure Motifs Using Order Parameters for Motif Recognition, Interstitial Identification, and Diffusion Path Characterization,\u201d Frontiers in Materials, vol. 4, Nov. 2017.\n"}

build/lib/crystal_toolkit/apps/assets/task_ids_on_load.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/lib/crystal_toolkit/apps/examples/GaN_bs.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/lib/crystal_toolkit/apps/examples/GaN_dos.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/lib/crystal_toolkit/apps/examples/Si_bs.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/lib/crystal_toolkit/apps/examples/Si_dos.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/lib/crystal_toolkit/apps/examples/bandstructure.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# standard Dash imports
22
import dash
3-
import dash_html_components as html
4-
import dash_core_components as dcc
53

64
# standard Crystal Toolkit import
75
import crystal_toolkit.components as ctc
86
from crystal_toolkit.settings import SETTINGS
9-
from crystal_toolkit.helpers.layouts import H1, H2, Container
7+
from crystal_toolkit.helpers.layouts import Container, H1
108

119
# dos and bs data from local jsons
1210
from monty.serialization import loadfn
@@ -35,7 +33,10 @@
3533

3634
# example layout to demonstrate capabilities of component
3735
my_layout = Container(
38-
[H1("Band Structure and Density of States Example"), bsdos_component.layout(),]
36+
[
37+
H1("Band Structure and Density of States Example"),
38+
bsdos_component.layout(),
39+
]
3940
)
4041

4142
# wrap your app.layout with crystal_toolkit_layout()

build/lib/crystal_toolkit/apps/examples/basic_hello_structure.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# as explained in "preamble" section in documentation
22
import dash
33
import dash_html_components as html
4-
import dash_core_components as dcc
54
import crystal_toolkit.components as ctc
65

76
app = dash.Dash()

build/lib/crystal_toolkit/apps/examples/basic_hello_structure_interactive.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# as above
22
import dash
33
import dash_html_components as html
4-
import dash_core_components as dcc
54
import crystal_toolkit.components as ctc
65

76
# standard Dash imports for callbacks (interactivity)
8-
from dash.dependencies import Input, Output, State
7+
from dash.dependencies import Input, Output
98
from dash.exceptions import PreventUpdate
109

1110
from pymatgen.core.structure import Structure

0 commit comments

Comments
 (0)