Skip to content

Commit 8e8f509

Browse files
authored
Merge pull request #6697 from AndrewVSutherland/main
2 parents 5a5c5be + 451c106 commit 8e8f509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lmfdb/sato_tate_groups/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ def su2_mu_data(w, n):
754754
if rec['component_group'] is None:
755755
rec['component_group'] = 'ab/%s' % n
756756
else:
757-
rec['component_group_number'] = int(rec['component_group'].split('.')[1])
757+
rec['component_group_number'] = rec['component_group'].split('.')[1] # not necessarily an integer (e.g. for cyclic groups outside GAP ID range)
758758
rec['st0_label'] = '%d.2.A' % w
759759
rec['identity_component'] = 'SU(2)'
760760
rec['trace_zero_density'] = '0'
@@ -808,7 +808,7 @@ def nu1_mu_data(w,n):
808808
rec['component_group'] = '4.2' if n == 2 else db.gps_special_names.lucky({'family':'D','parameters':{'n':n}},projection='label')
809809
if rec['component_group'] is None:
810810
return None
811-
rec['component_group_number'] = int(rec['component_group'].split('.')[1])
811+
rec['component_group_number'] = rec['component_group'].split('.')[1] # not necessarily an integer (e.g. for groups outside GAP ID range)
812812
rec['st0_label'] = '%d.2.B' % w
813813
rec['identity_component'] = 'U(1)'
814814
rec['trace_zero_density'] = '1/2'

0 commit comments

Comments
 (0)