Skip to content

Commit

Permalink
Allow Artin reps as friends
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Aug 22, 2024
1 parent 6f9bec2 commit 1e0bc28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lmfdb/modl_galois_representations/web_modlgal.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from lmfdb import db
from lmfdb.genus2_curves.main import url_for_curve_label as url_for_g2c_label
from lmfdb.classical_modular_forms.main import url_for_label as url_for_mf_label
from lmfdb.artin_representations.main import url_for_label as url_for_artin_label
from lmfdb.number_fields.number_field import field_pretty
from lmfdb.number_fields.web_number_field import WebNumberField
from lmfdb.groups.abstract.main import abstract_group_display_knowl
Expand Down Expand Up @@ -106,6 +107,8 @@ def friends(self):
friends.append(("Modular form " + r[1], url_for_mf_label(r[1])))
elif r[0] == "G2C":
friends.append(("Genus 2 curve " + r[1], url_for_g2c_label(r[1])))
elif r[0] == "Artin":
friends.append(("Artin representation" + r[1], url_for_artin_label(r[1])))
kerfield = WebNumberField.from_coeffs(self.kernel_polynomial)
if kerfield and kerfield._data:
friends.append(("Number field "+kerfield.field_pretty(), url_for("number_fields.by_label", label=kerfield.label)))
Expand Down

0 comments on commit 1e0bc28

Please sign in to comment.