mjsull / DiscoPlot

Visualising discordant reads
GNU General Public License v3.0
14 stars 4 forks source link

UnboundLocalError - SAM #2

Closed etwatson closed 4 years ago

etwatson commented 8 years ago

I get the following error when I attempt to use a SAM file:

dobzhansky@muller: python DiscoPlot.py -sam AB_bbmap.sam -s 5000
Traceback (most recent call last):
  File "/usr/share/DiscoPlot/discoplot/DiscoPlot.py", line 535, in <module>
    read_sbam(args)
  File "/usr/share/DiscoPlot/discoplot/DiscoPlot.py", line 81, in read_sbam
    references = sam.references
UnboundLocalError: local variable 'sam' referenced before assignment
mjsull commented 8 years ago

Hi,

Sorry for taking so long to get back to you. I think this is fixed in the most recent version.

Best,

Mitchell