Skip to content

Commit d8e7ed7

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

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

crystal_toolkit/components/localenv.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -826,15 +826,18 @@ def get_valences(struct):
826826
[
827827
["Environment", name],
828828
["IUPAC Symbol", co.IUPAC_symbol_str],
829-
[get_tooltip(
830-
"CSM",
831-
"The continuous symmetry measure (CSM) describes the similarity to an "
832-
"ideal coordination environment. It can be understood as a 'distance' to "
833-
"a shape and ranges from 0 to 100 in which 0 corresponds to a "
834-
"coordination environment that is exactly identical to the ideal one. A "
835-
"CSM larger than 5.0 already indicates a relatively strong distortion of "
836-
"the investigated coordination environment.",
837-
), f"{env[0]['csm']:.2f}"],
829+
[
830+
get_tooltip(
831+
"CSM",
832+
"The continuous symmetry measure (CSM) describes the similarity to an "
833+
"ideal coordination environment. It can be understood as a 'distance' to "
834+
"a shape and ranges from 0 to 100 in which 0 corresponds to a "
835+
"coordination environment that is exactly identical to the ideal one. A "
836+
"CSM larger than 5.0 already indicates a relatively strong distortion of "
837+
"the investigated coordination environment.",
838+
),
839+
f"{env[0]['csm']:.2f}",
840+
],
838841
["Interactive View", view],
839842
]
840843
)

crystal_toolkit/renderables/moleculegraph.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ def get_molecule_graph_scene(
3737
"""
3838

3939
if visualize_bond_orders:
40-
vis_mol_graph = MoleculeGraph.with_local_env_strategy(self.molecule, OpenBabelNN())
40+
vis_mol_graph = MoleculeGraph.with_local_env_strategy(
41+
self.molecule, OpenBabelNN()
42+
)
4143
else:
4244
vis_mol_graph = self
4345
legend = legend or Legend(self.molecule)

0 commit comments

Comments
 (0)