Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
szabogtamas authored and grst committed Mar 28, 2020
1 parent 13567ae commit d52b7e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scirpy/_plotting/_vdj_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def vdj_usage(
)
genes = td[target_cols[i]].tolist()
td = td["cell_weights"]
sector = target_cols[i][2:7].replace('_', '')
sector = target_cols[i][2:7].replace("_", "")
# sector = sector.replace('_', '')
unct = td[bar_clip + 1 :,].sum()
if td.size > bar_clip:
Expand Down Expand Up @@ -150,15 +150,15 @@ def vdj_usage(
)
else:
for locus in range(1, len(target_cols)):
print(target_cols[locus-1:locus])
print(target_cols[locus - 1 : locus])

# Draw ribbons
for r in td["genecombination"][1 : top_n + 1]:
d = []
ht = r[0]
for i in range(len(r) - 1):
g = r[i + 1]
sector = target_cols[i][2:7].replace('_', '')
sector = target_cols[i][2:7].replace("_", "")
if g == "None":
g = "No_" + sector
if g not in gene_tops:
Expand Down

0 comments on commit d52b7e8

Please sign in to comment.