Skip to content

Commit 0ffbcaa

Browse files
committed
formatting
1 parent 6ca7a8a commit 0ffbcaa

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

python/libcasm/enumerate/_ConfigEnumLocalOccupations.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,7 @@ def _make_prim_local_orbits(
642642
required_sites=required_sites,
643643
supercell=supercell,
644644
):
645-
print(
646-
"""
645+
print("""
647646
** WARNING: Small supercell / large neighborhood ******
648647
** **
649648
** Some sites in the neighborhood of the event map **
@@ -655,8 +654,7 @@ def _make_prim_local_orbits(
655654
** for choosing a supercell that avoids this. **
656655
** **
657656
*******************************************************
658-
"""
659-
)
657+
""")
660658
return prim_local_orbits
661659

662660
def _check_supercell_symmetry(
@@ -689,8 +687,7 @@ def _check_supercell_symmetry(
689687
# Check that all background_fg_indices are also in scel_fg_indices
690688
if not all(i in scel_fg_indices for i in background_fg_indices):
691689
if fix == "both":
692-
print(
693-
"""
690+
print("""
694691
** WARNING: Symmetry reduction due to supercell *******
695692
** **
696693
** The choice of supercell has lower symmetry than **
@@ -705,11 +702,9 @@ def _check_supercell_symmetry(
705702
** for choosing a supercell that avoids this. **
706703
** **
707704
*******************************************************
708-
"""
709-
)
705+
""")
710706
else:
711-
print(
712-
"""
707+
print("""
713708
** ERROR: Symmetry reduction due to supercell *********
714709
** **
715710
** The choice of supercell has lower symmetry than **
@@ -730,8 +725,7 @@ def _check_supercell_symmetry(
730725
** orientations are specifically requested. **
731726
** **
732727
*******************************************************
733-
"""
734-
)
728+
""")
735729

736730
if fix != "both":
737731
raise ValueError(
@@ -986,8 +980,7 @@ def _check_for_distinct_super_configurations(
986980
sys.stdout.flush()
987981

988982
if len(super_backgrounds) > 1:
989-
print(
990-
"""
983+
print("""
991984
** WARNING: Symmetry reduction due to supercell *******
992985
** **
993986
** The choice of supercell results in symmetrically **
@@ -1003,8 +996,7 @@ def _check_for_distinct_super_configurations(
1003996
** for choosing a supercell that avoids this. **
1004997
** **
1005998
*******************************************************
1006-
"""
1007-
)
999+
""")
10081000

10091001
if len(super_backgrounds) > 1 and fix != "both":
10101002
raise ValueError(

0 commit comments

Comments
 (0)