diff options
| author | Jon Whiteaker <jbw@berkeley.edu> | 2012-02-22 16:10:15 -0800 |
|---|---|---|
| committer | Jon Whiteaker <jbw@berkeley.edu> | 2012-02-22 16:10:15 -0800 |
| commit | d9c41d3c4ad0e006e719892a00bdb40874830ae2 (patch) | |
| tree | c952f5fb76e8a874e62fad1994e7e53489c9db79 /data/combined/combine.py | |
| parent | fb534c575541ba6ad8a9f84872bab14e44e44264 (diff) | |
| download | kinect-d9c41d3c4ad0e006e719892a00bdb40874830ae2.tar.gz | |
new combined data
Diffstat (limited to 'data/combined/combine.py')
| -rwxr-xr-x | data/combined/combine.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/combined/combine.py b/data/combined/combine.py new file mode 100755 index 0000000..b969935 --- /dev/null +++ b/data/combined/combine.py @@ -0,0 +1,11 @@ +#!/usr/bin/python +import os +import sys + +runs = [] +for arg in sys.argv[1:]: + runs += [[open(arg), arg.split('/')[-2]]] + +for lines, sub_dir in runs: + for line in lines: + print sub_dir+","+line.strip() |
