Skip to content

Commit ce03442

Browse files
committed
Contig stitcher: change unaligned colour
1 parent 3f0376a commit ce03442

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

micall/core/plot_contigs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ def get_all_arrows(group_ref: str, labels: bool) -> Iterable[Arrow]:
10141014
else:
10151015
figure.add(Arrow(a_r_st, a_r_ei, elevation=-20, h=1))
10161016
else:
1017-
colour = "red"
1017+
colour = "yellow"
10181018

10191019
name = name_mappings.get(contig_name, contig_name)
10201020
figure.add(Track(a_r_st, a_r_ei, color=colour, label=name))
@@ -1036,7 +1036,7 @@ def get_all_arrows(group_ref: str, labels: bool) -> Iterable[Arrow]:
10361036
contig = contig_map[contig_name]
10371037
r_st = position_offset
10381038
r_ei = position_offset + len(contig.seq)
1039-
colour = "red"
1039+
colour = "yellow"
10401040
name = name_mappings.get(contig_name, contig_name)
10411041
figure.add(Track(r_st, r_ei, color=colour, label=name))
10421042

micall/tests/data/stitcher_plots/test_stitching_with_empty_contigs.svg

+1-1
Loading

0 commit comments

Comments
 (0)