diff --git a/samplot/samplot.py b/samplot/samplot.py index 2fda24e..7b4df6a 100755 --- a/samplot/samplot.py +++ b/samplot/samplot.py @@ -184,7 +184,7 @@ def get_tabix_iter(chrm, start, end, datafile): """ try: tbx = pysam.TabixFile(datafile) - except OSError: + except: tbx = pysam.TabixFile(datafile, index=datafile+".csi")