diff options
Diffstat (limited to 'uploader')
-rw-r--r-- | uploader/genotypes/views.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/uploader/genotypes/views.py b/uploader/genotypes/views.py index 9da4dec..1ac36b2 100644 --- a/uploader/genotypes/views.py +++ b/uploader/genotypes/views.py @@ -117,16 +117,18 @@ def list_markers(species_id: int): start_from = max(safe_int(request.args.get("start_from") or 0), 0) count = safe_int(request.args.get("count") or 20) - markers = enumerate_sequence( - genotype_markers(conn, species_id, offset=start_from, limit=count), - start=start_from+1) return render_template("genotypes/list-markers.html", species=species, total_markers=genotype_markers_count( conn, species_id), start_from=start_from, count=count, - markers=markers, + markers=enumerate_sequence( + genotype_markers(conn, + species_id, + offset=start_from, + limit=count), + start=start_from+1), activelink="list-markers") @genotypesbp.route( |