changeset 17:6daabb2d16a4 draft

Uploaded
author crs4
date Fri, 17 Mar 2017 13:07:23 -0400
parents 98120fb71f9b
children 208b0932fdf5
files conifer3/conifer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/conifer3/conifer.py	Fri Mar 17 13:01:08 2017 -0400
+++ b/conifer3/conifer.py	Fri Mar 17 13:07:23 2017 -0400
@@ -586,7 +586,7 @@
     f = pysam.Samfile(args.input[0], "rb")
 
 #    if not f._hasIndex():
-    if not f._has_index():
+    if not f.has_index():
         print("[ERROR] No index found for bam file (%s)!\n[ERROR] You must first index the bam file and include the .bai file in the same directory as the bam file!" % \
               args.input[0])
         sys.exit(0)