Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
harbourlab authored Jan 29, 2020
1 parent 96875ab commit 54f4bc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SparK.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ def get_region_to_draw():
if width is not None:
total_width = int(width)

fills = args['fills'] # left is treat, right is control
fills = args['fills'] # [0] is control, [1] is treatment group
if fills is None:
if args['treat_groups'] == []: # color if all tracks are plotted separat
if args['treat_groups'] == []: # color if there is no treat group
fills = ["#0000C1", "0"]
opacity = 1
elif args['treat_groups'] != []:
Expand All @@ -312,7 +312,7 @@ def get_region_to_draw():

elif fills[0] == "blue/red":
fills = ["#FF1800", "#005CFF"] # right is ctrl blue
opacity = 0.5
opacity = 0.6

elif fills[0] == "blue/grey":
fills = ["#005CFF", "#A3A3A3"] # right is ctrl grey
Expand Down

0 comments on commit 54f4bc4

Please sign in to comment.