Skip to content

Commit

Permalink
Merge pull request #6179 from LMFDB/autopep8-patches
Browse files Browse the repository at this point in the history
Fixes by autopep8 action
  • Loading branch information
edgarcosta authored Sep 2, 2024
2 parents 87caf5a + 752b9ea commit aa6cbf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lmfdb/modular_curves/web_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def formatted_model_html(self, m):
# we need to somehow give this info
eqn_threshold = 3 #this displays threshold - 1 lines to start
eqns, lines, nb_var, typ, smooth = formatted_model_data(m)

def title_of_model(self, lines, nb_var, typ, smooth):
if typ == 0:
title = display_knowl('ag.canonical_model', 'Canonical model') +\
Expand Down Expand Up @@ -209,6 +210,7 @@ def title_of_model(self, lines, nb_var, typ, smooth):
elif typ == 8:
return display_knowl('modcurve.embedded_model', 'Embedded model') +\
r" Embedded model in $\mathbb{P}^{%d}$" % (nb_var-1,)

def equation_of_model(lines, typ):
table = '<table valign="center">'+\
'<tr>'+\
Expand Down

0 comments on commit aa6cbf5

Please sign in to comment.