Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mnshgl0110 committed May 22, 2024
1 parent 181e5c3 commit a006a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotsr/scripts/plotsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def plotsr(args):
allal = pdconcat([alignments[i][1] for i in range(len(alignments))])
if ITX:
minl = 0
MCHR = 0.01 # TODO : read spacing between neighbouring chromosome from config file
MCHR = cfg['marginchr']
maxchr = max([sum(chrlengths[i][1].values()) for i in range(len(chrlengths))])
maxl = int(maxchr/(MCHR + 1 - (MCHR*len(chrgrps))))
elif cfg['maxl'] != -1:
Expand Down

0 comments on commit a006a7b

Please sign in to comment.