# HG changeset patch # User crs4 # Date 1489770443 14400 # Node ID 6daabb2d16a45ac35a01f1b34fe2f0d7170ece54 # Parent 98120fb71f9b484640417fd4da52ab72563a1b38 Uploaded diff -r 98120fb71f9b -r 6daabb2d16a4 conifer3/conifer.py --- 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)