Skip to content

Commit

Permalink
Merge pull request #5905 from LMFDB/main
Browse files Browse the repository at this point in the history
main -> dev
  • Loading branch information
roed314 authored Mar 9, 2024
2 parents 69c3bf0 + 9770dbf commit f8a274c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
1 change: 0 additions & 1 deletion lmfdb/characters/test_characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ def test_dirichletgalorbs(self):
# Tests for URL behaviour of characters

W = self.tc.get('/Character/Dirichlet/5489/banana/100', follow_redirects=True)
#import pdb; pdb.set_trace()
assert bool_string(True) in W.get_data(as_text=True)
assert r"The URL has been duly corrected." in W.get_data(as_text=True)

Expand Down
4 changes: 2 additions & 2 deletions lmfdb/genus2_curves/web_g2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from lmfdb.cluster_pictures.web_cluster_picture import cp_display_knowl
from lmfdb.groups.abstract.main import abstract_group_display_knowl
from lmfdb.galois_groups.transitive_group import transitive_group_display_knowl
from lmfdb.sato_tate_groups.main import st_display_knowl, st_anchor
from lmfdb.sato_tate_groups.main import st_display_knowl, st_anchor, convert_label
from lmfdb.genus2_curves import g2c_logger
from sage.all import latex, ZZ, QQ, CC, lcm, gcd, PolynomialRing, implicit_plot, point, real, sqrt, var, nth_prime
from sage.plot.text import text
Expand Down Expand Up @@ -468,7 +468,7 @@ def end_lattice_statement(lattice):
% (strlist_to_nfelt(ED[0][2], 'a'), intlist_to_poly(ED[0][1])))
statement += ":\n"
statement += end_statement(ED[1], ED[2], field='F', ring=ED[3])
statement += "  Sato Tate group: %s" % st_display_knowl(ED[4])
statement += "  Sato Tate group: %s" % st_display_knowl(convert_label(ED[4]))
statement += "<br>&nbsp;&nbsp;"
statement += gl2_simple_statement(ED[1], ED[2])
statement += "</p>\n"
Expand Down
15 changes: 15 additions & 0 deletions lmfdb/sato_tate_groups/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,20 @@ def st_label_components(label):
'J(E_4)': '1.4.E.8.3a',
'J(E_6)': '1.4.E.12.4a',
'U(1)_2': '1.4.F.1.1a',
'C_1': '1.4.F.1.1a',
'C_2': '1.4.F.2.1b',
'C_3': '1.4.F.3.1a',
'C_4': '1.4.F.4.1b',
'C_6': '1.4.F.6.2c',
'C_{4,1}': '1.4.F.4.1a',
'J(C_1)': '1.4.F.2.1a',
'D_2': '1.4.F.4.2a',
'D_3': '1.4.F.6.1a',
'D_4': '1.4.F.8.3b',
'J(C_3)': '1.4.F.6.2a',
'T': '1.4.F.12.3a',
'D_6': '1.4.F.12.4c',
'O': '1.4.F.24.12b',
'J(C_2)': '1.4.F.4.2b',
'J(C_4)': '1.4.F.8.2a',
'J(C_6)': '1.4.F.12.5a',
Expand Down Expand Up @@ -385,6 +399,7 @@ def st_lookup(label):
return db.gps_st.lookup(label), True

def st_knowl(label):
# import pdb; pdb.set_trace()
try:
data,_ = st_lookup(label)
if not data:
Expand Down

0 comments on commit f8a274c

Please sign in to comment.