Skip to content

Commit 4c82c91

Browse files
committed
bumping v and fixing print outs
1 parent baaa479 commit 4c82c91

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

snipit/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
_program = "snipit"
2-
__version__ = "1.5"
2+
__version__ = "1.6"

snipit/scripts/snp_functions.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -489,18 +489,14 @@ def make_graph(num_seqs, num_snps, amb_dict, snp_records,
489489
# Add name of record, ref, SNP in record, y_level and False for "recombi_mode" colour logic
490490
snp_dict[x_position].append((record, ref, base, y_level, False))
491491

492-
print(snp_dict.keys())
493-
print(len(snp_dict))
494-
print(len(included_positions),included_positions)
495-
print(len(excluded_positions),excluded_positions)
492+
496493
# gather the positions that are not explicitly excluded,
497494
# but are not among those to be included
498495
positions_not_included=set()
499496
if len(included_positions)>0:
500497
# of the positions present,
501498
# gather a set of positions which should NOT be included in the output
502499
positions_not_included = set(snp_dict.keys()) - included_positions
503-
print("positions not included", positions_not_included)
504500

505501
# remove positions which should be ignored or are not included (pop items from union of the two sets)
506502
for pos in excluded_positions | positions_not_included:

0 commit comments

Comments
 (0)