From c23e5feb58b00e6a931648013c3788a26ee3794d Mon Sep 17 00:00:00 2001 From: jared Date: Sat, 12 Jul 2014 15:48:36 -0400 Subject: [PATCH 1/3] add the ignore file, test a pull request --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..faa2efe --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +*.swp +*.pyc + From 38705035bc2d3ef0b8491a4f94cb3cd217018718 Mon Sep 17 00:00:00 2001 From: jared Date: Mon, 13 Oct 2014 12:03:06 -0400 Subject: [PATCH 2/3] update readme, test pushing to my own fork or remote --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b0e77d8..c42532e 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,6 @@ Example Usage Imagine a sample datafile that had a special study group as a treatement. One might match this pairwise against the general population using: -python resample.py -i example_datafile.csv -c example_definitions.csv -m "Study Group" -o out.csv \ No newline at end of file +python resample.py -i example_datafile.csv -c example_definitions.csv -m "Study Group" -o out.csv +python resample.py -i ../data_lak_2015/input-new.csv -c ../data_lak_2015/definitions-new.csv -m "treat" -o out.csv + From 2641ebe78b0957cde818f2fa13faf6cb5e33f3ed Mon Sep 17 00:00:00 2001 From: jared Date: Mon, 13 Oct 2014 23:34:40 -0400 Subject: [PATCH 3/3] minor updates --- README.md | 2 +- resample.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 resample.py diff --git a/README.md b/README.md index c42532e..5c118f0 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ Imagine a sample datafile that had a special study group as a treatement. One m match this pairwise against the general population using: python resample.py -i example_datafile.csv -c example_definitions.csv -m "Study Group" -o out.csv -python resample.py -i ../data_lak_2015/input-new.csv -c ../data_lak_2015/definitions-new.csv -m "treat" -o out.csv + diff --git a/resample.py b/resample.py old mode 100644 new mode 100755