details: http://www.bx.psu.edu/hg/galaxy/rev/ff2fca65799e changeset: 2388:ff2fca65799e user: guru date: Thu Apr 30 11:07:34 2009 -0400 description: A tiny bug fix for linear regression tool.
1 file(s) affected in this change:
tools/regVariation/linear_regression.py
diffs (12 lines):
diff -r 609ee7376d0d -r ff2fca65799e tools/regVariation/linear_regression.py --- a/tools/regVariation/linear_regression.py Thu Apr 30 10:54:43 2009 -0400 +++ b/tools/regVariation/linear_regression.py Thu Apr 30 11:07:34 2009 -0400 @@ -17,7 +17,7 @@
print "Predictor columns: %s; Response column: %d" %(x_cols,y_col+1) fout = open(outfile,'w') - +elems = [] for i, line in enumerate( file ( infile )): line = line.rstrip('\r\n') if len( line )>0 and not line.startswith( '#' ):