rgh... Code runs. Code reads in data. Code runs elaborate curve fits, parametric models, calculates useful parameters. Code then writes the input parameters to the output file, instead of the output data.
Of course, I only notice this after the code runs.