def construct_empty_pair_with_group_names(self, name1, name2):
     """
     Create a default pair with specific group names.
     The pair name is auto-generated and alpha=1.0
     """
     pair = construct_empty_pair(self.group_names, self.pair_names, 0)
     pair.forward_group = name1
     pair.backward_group = name2
     return pair
Exemplo n.º 2
0
 def construct_empty_pair_with_group_names(self, name1, name2):
     """
     Create a default pair with specific group names.
     The pair name is auto-generated and alpha=1.0
     """
     pair = construct_empty_pair(self.group_names, self.pair_names, 0)
     pair.forward_group = name1
     pair.backward_group = name2
     return pair
Exemplo n.º 3
0
 def construct_empty_pair(self, _pair_index):
     return construct_empty_pair(self.group_names, self.pair_names, _pair_index)
 def construct_empty_pair(self, _pair_index):
     return construct_empty_pair(self.group_names, self.pair_names, _pair_index)