Skip to content

Commit

Permalink
fixed riboSketch colors
Browse files Browse the repository at this point in the history
  • Loading branch information
nickp60 committed Jan 30, 2018
1 parent 9fed4f8 commit d5f1ddd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions riboSeed/riboSketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@


bgcols = { # pragma: no cover
"purle": matplotlib.colors.ColorConverter().to_rgba(
"#EB87A3", alpha=0.5),
"purple": matplotlib.colors.ColorConverter().to_rgba(
"#B46BF0", alpha=0.5),
"green": matplotlib.colors.ColorConverter().to_rgba(
"#5EA662", alpha=0.5),
"#0B9C04", alpha=0.5),
"yellow": matplotlib.colors.ColorConverter().to_rgba(
"#EBE418", alpha=0.5),
"red": matplotlib.colors.ColorConverter().to_rgba(
Expand Down Expand Up @@ -211,7 +211,8 @@ def plot_mauve_compare(refgb,
ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
# plot the color shadings
unused_cols = ["red", "green", "yellow", "purple", "red", "blue"]
unused_cols = ["green", "purple", "yellow", "blue", "red",
"green", "purple", "yellow", "blue", "red"]
nudge = coding_height / 2
patch_list = []
for i, bblist in enumerate(backbones):
Expand Down Expand Up @@ -361,6 +362,7 @@ def main(args, logger=None):
logger = set_up_logging(verbosity=args.verbosity,
outfile=log_path,
name=__name__)
logger.info("Usage:\n%s\n", " ".join([x for x in sys.argv]))
logger.debug("All settings used:")
for k, v in sorted(vars(args).items()):
logger.debug("{0}: {1}".format(k, v))
Expand Down

0 comments on commit d5f1ddd

Please sign in to comment.