Skip to content

Commit

Permalink
Merge pull request #5806 from LMFDB/autopep8-patches
Browse files Browse the repository at this point in the history
Fixes by autopep8 action
  • Loading branch information
edgarcosta authored Jan 9, 2024
2 parents ad85d11 + 29d9928 commit 727dc63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lmfdb/groups/abstract/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2255,7 +2255,7 @@ def cc_data(gp, label, typ="complex"):
else:
gp_value = WebAbstractGroup(gp)
if gp_value.representations.get("Lie"):
if gp_value.representations["Lie"][0]["family"][0] == "P" and gp_value.order < 2000: #Problem with projective lie groups of order <2000
if gp_value.representations["Lie"][0]["family"][0] == "P" and gp_value.order < 2000: #Problem with projective lie groups of order <2000
pass
else:
repn = gp_value.decode(wacc.representative, as_str=True)
Expand Down
3 changes: 1 addition & 2 deletions lmfdb/groups/abstract/web_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ def pad(X, m):
if as_str:
# for projective families, we add "[ ]"
if LieType and self.representations["Lie"][0]["family"][0] == "P":
return "\left[" + latex(x) + "\\right]"
return r"\left[" + latex(x) + "\\right]"
return latex(x)
return x

Expand Down Expand Up @@ -2171,7 +2171,6 @@ def show_aut_group(self):
def aut_order_factor(self):
return latex(factor(self.aut_order))


def aut_gens_flag(self): #issue with Lie type when family is projective, auto stored as permutations often
if self.aut_gens is None:
return False
Expand Down

0 comments on commit 727dc63

Please sign in to comment.