Skip to content

Commit

Permalink
Merge pull request #5545 from LMFDB/autopep8-patches
Browse files Browse the repository at this point in the history
Fixes by autopep8 action. --  just some spaces deleted
  • Loading branch information
jenpaulhus authored Jul 11, 2023
2 parents 4ca2388 + 22579f3 commit 6b86b40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lmfdb/groups/abstract/web_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ def normal_profile(self):
if self.has_subgroups:
by_order = defaultdict(Counter)
for s in self.subgroups.values():
if s.normal:
if s.normal:
by_order[s.subgroup_order][s.subgroup, s.subgroup_hash, s.subgroup_tex, s.quotient, s.quotient_hash, s.quotient_tex,s.quotient_order] += s.conjugacy_class_count
if self.normal_counts is not None:
for d, cnt in zip(self.order.divisors(), self.normal_counts):
Expand All @@ -989,7 +989,7 @@ def normal_autprofile(self):
seen = set()
by_order = defaultdict(Counter)
for s in self.subgroups.values():
if s.normal and s.aut_label not in seen:
if s.normal and s.aut_label not in seen:
by_order[s.subgroup_order][s.subgroup, s.subgroup_hash, s.subgroup_tex, s.quotient, s.quotient_hash, s.quotient_tex,s.quotient_order] += 1
seen.add(s.aut_label)
return self._finalize_profile(by_order)
Expand All @@ -1011,10 +1011,10 @@ def display_profile_line(order, subs):
if tup[5] is None:
ord_str = "\\text{unknown group of order }" + str(tup[6])
else:
ord_str = tup[5]
ord_str = tup[5]
l.append(
abstract_group_display_knowl(label, name=f"${tex}$", ambient=self.label, aut=bool(aut), profiledata=tuple(tup))
+ ("" if len(tup) == 3 else " ( $%s$ )" % (ord_str))
+ ("" if len(tup) == 3 else " ( $%s$ )" % (ord_str))
+ (" x " + str(cnt) if cnt > 1 else "")
)
return sep.join(l)
Expand Down

0 comments on commit 6b86b40

Please sign in to comment.