number of clusters <> 5
[django_unres.git] / django_simple / todo / templates / details.html
index 9fd9a03..c6bfd20 100644 (file)
@@ -349,6 +349,10 @@ Created {{ task.created_date  }}
                            <div class="col-md-6"> temperature for clustering</div>
                            <div class="col-md-6">{{ task.remd_cluter_temp}}</div>
                        </li>           
+                       <li class="list-group-item task-item">
+                           <div class="col-md-6"> number of clusters</div>
+                           <div class="col-md-6">{{ task.remd_cluster_n}}</div>
+                       </li>           
                        {% if task.saxs_data != "" %}                   
                        <li class="list-group-item task-item">
                            <div class="col-md-6"> wsaxs </div>
@@ -638,7 +642,7 @@ Created {{ task.created_date  }}
        </div>
        </li>           
        
-               {% for iii in "12345" %}
+               {% for iii in range %}
 
                 {% with istr=forloop.counter|stringformat:"s" %}
                 {% with MODELi="MODEL"|add:istr|add:".pdb" %}
@@ -652,7 +656,7 @@ Created {{ task.created_date  }}
                          {% if not task.damino %}
                          after conversion to allatom 
                          {% endif %}
-                         {{ remd_models|index:forloop.counter|linebreaks }}
+                         {{ remd_models|index:iii|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id={{viewporti}}
                          style="width:500px;height:500px;">