Just testing out a python block

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
print("This is a typical output!")
import sys
infile = '/data/expr/GAD.txt'
outfile = 'hatethis.txt'

with open(infile, 'r') as fin, open(outfile, 'w') as fout:
    for line in fin:
        field = line.split('\t')
        name = field[0]
        exp1 = float(field[1])
        exp2 = float(field[2])
        exp3 = float(field[3])
        if exp1 >= 13 and exp2 >= 13 and exp3 >= 13:
            fout.write(line)

New block of text