diff --git a/snipit/__init__.py b/snipit/__init__.py index 68d3d92..2c8ddde 100644 --- a/snipit/__init__.py +++ b/snipit/__init__.py @@ -1,2 +1,2 @@ _program = "snipit" -__version__ = "1.5" +__version__ = "1.6" diff --git a/snipit/scripts/snp_functions.py b/snipit/scripts/snp_functions.py index 36a4d90..e8011b1 100644 --- a/snipit/scripts/snp_functions.py +++ b/snipit/scripts/snp_functions.py @@ -489,10 +489,7 @@ def make_graph(num_seqs, num_snps, amb_dict, snp_records, # Add name of record, ref, SNP in record, y_level and False for "recombi_mode" colour logic snp_dict[x_position].append((record, ref, base, y_level, False)) - print(snp_dict.keys()) - print(len(snp_dict)) - print(len(included_positions),included_positions) - print(len(excluded_positions),excluded_positions) + # gather the positions that are not explicitly excluded, # but are not among those to be included positions_not_included=set() @@ -500,7 +497,6 @@ def make_graph(num_seqs, num_snps, amb_dict, snp_records, # of the positions present, # gather a set of positions which should NOT be included in the output positions_not_included = set(snp_dict.keys()) - included_positions - print("positions not included", positions_not_included) # remove positions which should be ignored or are not included (pop items from union of the two sets) for pos in excluded_positions | positions_not_included: