diff options
| author | Jon Whiteaker <jbw@jon-Latitude-D630> | 2012-02-17 17:31:44 -0800 |
|---|---|---|
| committer | Jon Whiteaker <jbw@jon-Latitude-D630> | 2012-02-17 17:31:44 -0800 |
| commit | 0c5477cc00e1e8877066f66f371426e3c6ef55fe (patch) | |
| tree | a2e1b4405d9a641cedf53e33e45b537c339fd734 /data/combine.py | |
| parent | 0f28a1000f7e3602a58389ee8a0f0f4ef0b7a1cc (diff) | |
| download | kinect-0c5477cc00e1e8877066f66f371426e3c6ef55fe.tar.gz | |
adding combined dataorigin/masterorigin/HEAD
Diffstat (limited to 'data/combine.py')
| -rwxr-xr-x | data/combine.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/combine.py b/data/combine.py new file mode 100755 index 0000000..2793a6d --- /dev/null +++ b/data/combine.py @@ -0,0 +1,11 @@ +#!/usr/bin/python +import os +import sys + +runs = [] +for arg in sys.argv: + runs += [[open(arg), arg.split('/')[-2]]] + +for lines, sub_dir in runs: + for line in lines: + print sub_dir+","+line.strip() |
