diff --git a/python/obitools3/commands/test.pyx b/python/obitools3/commands/test.pyx index 3c56320..e819074 100755 --- a/python/obitools3/commands/test.pyx +++ b/python/obitools3/commands/test.pyx @@ -301,8 +301,8 @@ def fill_column(config, infos, col) : def create_random_column(config, infos) : alias = random.choice([b'', random_unique_name(infos)]) tuples = random.choice([True, False]) + dict_column = False if not tuples : - dict_column = random.choice([True, False]) nb_elements_per_line=random.randint(1, config['test']['maxelts']) if nb_elements_per_line > 1: dict_column = True @@ -311,7 +311,6 @@ def create_random_column(config, infos) : elements_names.append(random_unique_element_name(config, infos)) elements_names = random.choice([None, elements_names]) else : - dict_column = False nb_elements_per_line = 1 elements_names = None name = random_unique_name(infos)