Source

bx-python / scripts / maf_truncate.py

Diff from to

scripts/maf_truncate.py

     maf_reader = maf.Reader( sys.stdin )
     maf_writer = maf.Writer( sys.stdout )
 
-    if not options.cols: raise "Cols argument is required"
+    if not options.cols: raise Exception("Cols argument is required")
     cols = int( options.cols )
 
     count = 0