template.singlehtml.include.sequences.ftl Maven / Gradle / Ivy
[#ftl]
数据库共计${allSequences?size}个序列,分别如下:
序号
序列名
序号
序列名
[#if allSequences?size>0]
[#assign seqcnt = (allSequences?size/2)?int]
[#if allSequences?size%2>0][#assign seqcnt = seqcnt+1][/#if]
[#assign sortedSeqs = allSequences?sort_by("name")/]
[#list 1..seqcnt as i]
[#assign seq= sortedSeqs[i-1] /]
${i}
${seq.name.value?lower_case}
${seq.comment!}
[#if allSequences[i-1+seqcnt]??]
[#assign seq= sortedSeqs[i-1+seqcnt] /]
${i+seqcnt}
${seq.name.value?lower_case}
${seq.comment!}
[#else]
[/#if]
[/#list]
[/#if]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy