From 22579f35140734d36aaabb2897c385544789892e Mon Sep 17 00:00:00 2001 From: jwj61 Date: Tue, 11 Jul 2023 14:21:03 +0000 Subject: [PATCH] autopep8 action fixes --- lmfdb/groups/abstract/web_groups.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lmfdb/groups/abstract/web_groups.py b/lmfdb/groups/abstract/web_groups.py index fa06810fb8..7c9eda4989 100644 --- a/lmfdb/groups/abstract/web_groups.py +++ b/lmfdb/groups/abstract/web_groups.py @@ -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): @@ -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) @@ -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)