1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/python3 #import system processes import subprocess, sys if len(sys.argv) > 1: infile = int(sys.argv[1]) basefile = infile + "-base" normfile = infile + "-norm" runcommand = "hsiproc " + infile + basefile + " --baseline baseline.txt" subprocess.call(runcommand, shell=True)