def url_for_ec(label): if '-' not in label: return url_for('ec.by_ec_label', label = label) else: (nf, cond, isog, num) = split_ecnf_label(label) url = url_for('ecnf.show_ecnf', nf = nf, conductor_label = cond, class_label = isog, number = num) return url
def url_for_ec_class(ec_label): if '-' not in ec_label: (cond, iso, num) = split_lmfdb_label(ec_label) return url_for('ec.by_double_iso_label', conductor=cond, iso_label=iso) else: (nf, cond, isog, num) = split_ecnf_label(ec_label) return url_for('ecnf.show_ecnf_isoclass', nf=nf, conductor_label=cond, class_label=isog)
def url_for_ec_class(ec_label): if not '-' in ec_label: (cond, iso, num) = split_lmfdb_label(ec_label) return url_for('ec.by_double_iso_label', conductor=cond, iso_label=iso) else: (nf, cond, isog, num) = split_ecnf_label(ec_label) cond = convert_IQF_label(nf,cond) return url_for('ecnf.show_ecnf_isoclass', nf=nf, conductor_label=cond, class_label=isog)
def url_for_ec(label): if not '-' in label: return url_for('ec.by_ec_label', label = label) else: (nf, cond, isog, num) = split_ecnf_label(label) cond = convert_IQF_label(nf,cond) url = url_for('ecnf.show_ecnf', nf = nf, conductor_label = cond, class_label = isog, number = num) return url