Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
AndrewVSutherland
GitHub Repository: AndrewVSutherland/lmfdb
Path: blob/main/scripts/lattices/lattice_db_stats.py
1127 views
1
from lmfdb.base import getDBConnection
2
from data_mgt.utilities.rewrite import update_attribute_stats
3
4
def update_stats(verbose=True):
5
L = getDBConnection().Lattices
6
update_attribute_stats(L,'lat','class_number', nocounts=True)
7
update_attribute_stats(L,'lat','dim', nocounts=True)
8
update_attribute_stats(L,'lat','det', nocounts=True)
9
10
11