Skip to content

Commit

Permalink
Say things are not identified
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Jul 11, 2023
1 parent b52434f commit 90e93de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions lmfdb/groups/abstract/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2383,12 +2383,12 @@ def group_data(label, ambient=None, aut=False, profiledata=None):
profiledata[0] = None
tex_name = profiledata[2]
if tex_name is None:
ans = "Unknown group<br />"
ans = "Unidentified group<br />"
else:
ans = f"Group ${tex_name}$<br />"
ans += f"Order: {order}<br />"
if profiledata[1] is None:
ans += "Isomorphism class unknown<br />"
ans += "Isomorphism class has not been identified<br />"
else:
# TODO: add hash knowl and search link to groups with this order and hash
ans += f"Hash: {profiledata[1]}<br />"
Expand Down Expand Up @@ -2430,13 +2430,13 @@ def group_data(label, ambient=None, aut=False, profiledata=None):
if quotient_tex in [None, "?"]:
quotient_tex = profiledata[5]
if quotient_tex in [None, "?"]:
ans += "Unknown quotient<br />"
ans += "identified quotient<br />"
else:
ans += f"Quotient ${quotient_tex}$<br />"
ambient_order = int(ambient.split(".")[0])
ans += f"Quotient order: {ambient_order // order}<br />"
if profiledata[4] is None:
ans += "Quotient isomorphism class unknown<br />"
ans += "Quotient isomorphism class has not been identified<br />"
else:
# TODO: add hash knowl and search link to groups with this order and hash
ans += f"Quotient hash: {profiledata[4]}<br />"
Expand Down
6 changes: 3 additions & 3 deletions lmfdb/groups/abstract/web_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,16 +841,16 @@ def subgp_paragraph(self):
if self.number_characteristic_subgroups < self.number_normal_subgroups:
ret_str = ret_str + """ (<a href=" """ + str(url_for('.index', search_type='Subgroups', ambient=self.label, characteristic='yes')) + """ ">""" + str(self.number_characteristic_subgroups) + " characteristic</a>).<p>"+charcolor+" "+normalcolor
else:
ret_str=ret_str+ " all characteristic.<p>"+charcolor
ret_str=ret_str+ ", and all normal subgroups are characteristic.<p>"+charcolor
return ret_str
elif self.number_normal_subgroups < self.number_subgroups:
ret_str = "There are " + str(self.number_subgroups) + """ subgroups in <a href=" """ + str(url_for('.index', search_type='Subgroups', ambient=self.label)) + """ "> """ + str(self.number_subgroup_classes) + """ conjugacy classes</a>, <a href=" """ + str(url_for('.index', search_type='Subgroups', ambient=self.label, normal='yes'))+ """ "> """ +str(self.number_normal_subgroups) + """ normal</a>"""
else:
ret_str = """ There are <a href=" """ +str(url_for('.index', search_type='Subgroups', ambient=self.label)) + """ "> """ +str(self.number_subgroups) + """ subgroups</a>, all normal"""
if self.number_characteristic_subgroups < self.number_normal_subgroups:
ret_str = ret_str + """ (<a href=" """ + str(url_for('.index', search_type='Subgroups', ambient=self.label, characteristic='yes'))+ """ "> """ + str(self.number_characteristic_subgroups) + """ characteristic</a>).<p>"""+charcolor+" "+normalcolor
ret_str = ret_str + """ (<a href=" """ + str(url_for('.index', search_type='Subgroups', ambient=self.label, characteristic='yes'))+ """ ">""" + str(self.number_characteristic_subgroups) + """ characteristic</a>).<p>"""+charcolor+" "+normalcolor
else:
ret_str = ret_str + ", all characteristic. <p>"+charcolor
ret_str = ret_str + ", and all normal subgroups are characteristic. <p>"+charcolor
return ret_str

@lazy_attribute
Expand Down

0 comments on commit 90e93de

Please sign in to comment.