Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main -> dev #6073

Merged
merged 13 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 0 additions & 165 deletions install-deps.sh

This file was deleted.

1 change: 0 additions & 1 deletion lmfdb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

# psycodict was added as a dependency on May 10, 2024; we provide a useful error message for people upgrading
try:
Expand Down
1 change: 0 additions & 1 deletion lmfdb/abvar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from lmfdb.app import app
from lmfdb.logger import make_logger
from flask import Blueprint
Expand Down
1 change: 0 additions & 1 deletion lmfdb/abvar/fq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/abvar/fq/isog_class.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

"""
TODO
Expand Down
1 change: 0 additions & 1 deletion lmfdb/abvar/fq/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

import re

Expand Down
1 change: 0 additions & 1 deletion lmfdb/abvar/fq/stats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from collections import defaultdict
from flask import url_for
Expand Down
1 change: 0 additions & 1 deletion lmfdb/abvar/fq/web_abvar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import re
from flask import url_for

Expand Down
1 change: 0 additions & 1 deletion lmfdb/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/api/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from urllib.parse import unquote
import re
import yaml
Expand Down
1 change: 0 additions & 1 deletion lmfdb/api/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from lmfdb.tests import LmfdbTest

class ApiTest(LmfdbTest):
Expand Down
1 change: 0 additions & 1 deletion lmfdb/api2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
assert app # keeps pyflakes happy
Expand Down
1 change: 0 additions & 1 deletion lmfdb/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from .utils.config import get_secret_key
import os
from socket import gethostname
Expand Down
1 change: 0 additions & 1 deletion lmfdb/artin_representations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/artin_representations/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# This Blueprint is about Artin representations
# Authors: Paul-Olivier Dehaye, John Jones

Expand Down
1 change: 0 additions & 1 deletion lmfdb/artin_representations/math_classes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from lmfdb import db
from lmfdb.utils import (url_for,
web_latex, coeff_to_poly, letters2num, num2letters, raw_typeset,
Expand Down
2 changes: 0 additions & 2 deletions lmfdb/artin_representations/test_artin_representation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from lmfdb.tests import LmfdbTest
#import unittest2

class ArtinRepTest(LmfdbTest):

Expand Down
1 change: 0 additions & 1 deletion lmfdb/belyi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/belyi/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import re

from flask import render_template, url_for, request, redirect, abort
Expand Down
1 change: 0 additions & 1 deletion lmfdb/belyi/test_belyi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from lmfdb.tests import LmfdbTest


Expand Down
1 change: 0 additions & 1 deletion lmfdb/belyi/web_belyi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.number_fields.web_number_field import WebNumberField
from lmfdb.galois_groups.transitive_group import transitive_group_display_knowl
Expand Down
1 change: 0 additions & 1 deletion lmfdb/bianchi_modular_forms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/bianchi_modular_forms/bianchi_modular_form.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import re

from flask import render_template, url_for, request, redirect, make_response, abort
Expand Down
1 change: 0 additions & 1 deletion lmfdb/bianchi_modular_forms/test_bmf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.tests import LmfdbTest
from sage.all import Integer
Expand Down
1 change: 0 additions & 1 deletion lmfdb/bianchi_modular_forms/web_BMF.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from lmfdb import db
from lmfdb.logger import make_logger
from lmfdb.number_fields.web_number_field import nf_display_knowl, field_pretty
Expand Down
1 change: 0 additions & 1 deletion lmfdb/characters/HeckeCharacters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# HeckeCharacters.py
from sage.all import gp, xmrange, Integer, pari, gcd, LCM, prod
from sage.misc.cachefunc import cached_method
Expand Down
1 change: 0 additions & 1 deletion lmfdb/characters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/characters/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-


from lmfdb.app import app
Expand Down
1 change: 0 additions & 1 deletion lmfdb/characters/test_characters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from lmfdb.tests import LmfdbTest
from lmfdb.characters.web_character import WebDirichlet, parity_string, bool_string
from lmfdb.lfunctions.LfunctionDatabase import get_lfunction_by_url
Expand Down
1 change: 0 additions & 1 deletion lmfdb/characters/web_character.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Author: Pascal Molin, [email protected]
"""
Any character object is obtained as a double inheritance of
Expand Down
1 change: 0 additions & 1 deletion lmfdb/classical_modular_forms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.app import app
from lmfdb.logger import make_logger
Expand Down
1 change: 0 additions & 1 deletion lmfdb/classical_modular_forms/cmf_test_pages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-

from lmfdb.tests import LmfdbTest
from lmfdb.lmfdb_database import LMFDBDatabase
Expand Down
1 change: 0 additions & 1 deletion lmfdb/classical_modular_forms/download.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from ast import literal_eval
from flask import url_for, redirect, abort
from lmfdb import db
Expand Down
18 changes: 8 additions & 10 deletions lmfdb/classical_modular_forms/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from collections import defaultdict
import re
import os
Expand Down Expand Up @@ -186,7 +185,7 @@ def index():
flash_error("Invalid search type; if you did not enter it in the URL please report")
info["stats"] = CMF_stats()
info["weight_list"] = ('1', '2', '3', '4', '5-8', '9-16', '17-32', '33-64', '65-%d' % weight_bound() )
info["level_list"] = ('1', '2-10', '11-100', '101-1000', '1001-2000', '2001-4000', '4001-6000', '6001-8000', '8001-%d' % level_bound() )
info["level_list"] = ('1', '2-10', '11-100', '101-1000', '1001-5000', '5001-10000', '10001-50000', '50001-100000', '100001-1000000')
return render_template("cmf_browse.html",
info=info,
title="Classical modular forms",
Expand Down Expand Up @@ -840,7 +839,7 @@ def _AL_col(i, p):
align="center", short_title="projective image"),
MultiProcessedCol("cm", "cmf.self_twist", "CM",
["is_cm", "cm_discs"],
lambda is_cm, cm_discs: ", ".join(map(quad_field_knowl, cm_discs)) if is_cm else "None",
lambda is_cm, cm_discs: ", ".join(map(quad_field_knowl, cm_discs)) if is_cm else ("None" if is_cm == False else "not computed"),
short_title="CM",
download_col="cm_discs"),
MultiProcessedCol("rm", "cmf.self_twist", "RM",
Expand Down Expand Up @@ -1172,8 +1171,9 @@ def dimension_space_search(info, query):
short_title="character"),
MathCol("char_order", "character.dirichlet.order", r"$\operatorname{ord}(\chi)$", short_title="character order"),
MathCol("dim", "cmf.display_dim", "Dim.", short_title="dimension"),
MultiProcessedCol("decomp", "cmf.dim_decomposition", "Decomp.", ["level", "weight", "char_orbit_label", "hecke_orbit_dims"], display_decomp, align="center", short_title="decomposition", td_class=" nowrap"),
MultiProcessedCol("al_dims", "cmf.atkin_lehner_dims", "AL-dims.", ["level", "weight", "ALdims"], display_ALdims, contingent=show_ALdims_col, short_title="Atkin-Lehner dimensions", align="center", td_class=" nowrap")])
MathCol("num_forms", "cmf.galois_oribit", "Orbits", short_title="Galois orbits"),
MultiProcessedCol("decomp", "cmf.dim_decomposition", "Decomposition", ["level", "weight", "char_orbit_label", "hecke_orbit_dims"], display_decomp, align="center", short_title="decomposition", td_class=" nowrap"),
MultiProcessedCol("al_dims", "cmf.atkin_lehner_dims", "AL-decomposition.", ["level", "weight", "ALdims"], display_ALdims, contingent=show_ALdims_col, short_title="AL-decomposition", align="center", td_class=" nowrap")])

@search_wrap(table=db.mf_newspaces,
title='Newspace search results',
Expand Down Expand Up @@ -1218,7 +1218,6 @@ def reliability_page():
bread=get_bread(other='Reliability'),
learnmore=learnmore_list_remove('Reliability'))


@cmf.route("/FormPictures")
def picture_page():
t = "Pictures for classical modular forms"
Expand All @@ -1230,7 +1229,6 @@ def picture_page():
learnmore=learnmore_list(),
)


def projective_image_sort_key(im_type):
if im_type == 'A4':
return -3
Expand Down Expand Up @@ -1305,15 +1303,15 @@ def ndim(self):

@lazy_attribute
def short_summary(self):
return r'The database currently contains %s (%s of) %s, corresponding to %s modular forms over the complex numbers. You can <a href="%s">browse further statistics</a> or <a href="%s">create your own</a>.' % (self.nforms, self.galois_orbit_knowl, self.newform_knowl, self.ndim, url_for(".statistics"), url_for(".dynamic_statistics"))
return r'The database currently contains %s (%s of) %s, and %s of their embeddings into the complex numbers. You can <a href="%s">browse further statistics</a> or <a href="%s">create your own</a>.' % (self.nforms, self.galois_orbit_knowl, self.newform_knowl, self.ndim, url_for(".statistics"), url_for(".dynamic_statistics"))

@lazy_attribute
def summary(self):
return r"The database currently contains %s (%s of) %s and %s nonzero %s, corresponding to %s modular forms over the complex numbers. In addition to the statistics below, you can also <a href='%s'>create your own</a>." % (self.nforms, self.galois_orbit_knowl, self.newform_knowl, self.nspaces, self.newspace_knowl, self.ndim, url_for(".dynamic_statistics"))
return r"The database currently contains %s (%s of) %s in %s %s, and %s of their embeddings into the complex numbers. In addition to the statistics below, you can also <a href='%s'>create your own</a>." % (self.nforms, self.galois_orbit_knowl, self.newform_knowl, self.nspaces, self.newspace_knowl, self.ndim, url_for(".dynamic_statistics"))

@lazy_attribute
def buckets(self):
return {'level':['1','2-10','11-100','101-1000','1001-2000', '2001-4000','4001-6000','6001-8000','8001-%d'%level_bound()],
return {'level':['1','2-10','11-100','101-1000','1001-5000', '5001-10000','10001-50000','50001-100000','100001-1000000'],
'weight':['1','2','3','4','5-8','9-16','17-32','33-64','65-%d'%weight_bound()],
'dim':['1','2','3','4','5','6-10','11-20','21-100','101-1000','1001-10000','10001-100000'],
'relative_dim':['1','2','3','4','5','6-10','11-20','21-100','101-1000'],
Expand Down
Loading
Loading