예제 #1
0
 def get_split_enz_id_set_field_html(self):
   html = 'Split enzymes: ' + str(len(self.split_ids)) + '<br>'
   html += sh.mk_hidden_field("split_ids", self.split_ids)
   descr = self.get_id_descr_str(self.split_ids)
   html += sh.mk_textarea("split_ids_ta", 4, 40, descr)
   return html
예제 #2
0
 def get_split_crit_field_html(self):
   return 'Split criteria:<br>' + sh.mk_textarea("split_crit_ta", 4, 10, 
          self.split_crit_str)
예제 #3
0
 def get_al_enz_id_set_field_html(self):
   html = 'All alignment enzymes: ' + str(len(self.all_ids)) + '<br>'
   html += sh.mk_hidden_field("al_ids", self.all_ids)
   descr = self.get_id_descr_str(self.all_ids)
   html += sh.mk_textarea("al_ids_ta", 4, 40, descr)
   return html
예제 #4
0
 def get_al_filter_str_field_html(self):
   html = 'All alignment filters: <br>'
   html += sh.mk_textarea("al_filter_ta", 4, 10, self.all_filter_str, True)
   return html
예제 #5
0
 def get_split_enz_id_set_field_html(self):
   html = 'Filtered enzymes id set: <br>'
   html += sh.mk_textarea("filt_enz_ids", 2, 30, sorted(self.filt_enz_id_set))
   return html
예제 #6
0
 def get_al_enz_id_set_field_html(self):
   html = 'All alignment enzymes id set: <br>'
   html += sh.mk_textarea("al_enz_ids", 2, 30, self.enz_id_list)
   return html
예제 #7
0
 def get_split_filter_str_field_html(self):
   sp_fil_str = '\n'.join(self.filter_set.get_filters_values())
   html = 'Filters used to split alignment: <br>'
   html += sh.mk_textarea("split_filter_ta", 2, 40, sp_fil_str)
   return html
예제 #8
0
 def get_al_filter_str_field_html(self):
   html = 'Filters used to get fused alignment: <br>'
   html += sh.mk_textarea("al_filter_ta", 2, 40, self.f_al.filter_str)
   return html