advance on data/proprocessing
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 17 Mar 2017 16:02:44 +0000 (17:02 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 17 Mar 2017 16:02:44 +0000 (17:02 +0100)
data/preprocessing/expected_output_test.csv [new file with mode: 0644]
data/preprocessing/input_test.csv
data/preprocessing/test_convert.c [deleted file]

diff --git a/data/preprocessing/expected_output_test.csv b/data/preprocessing/expected_output_test.csv
new file mode 100644 (file)
index 0000000..4cd40d7
--- /dev/null
@@ -0,0 +1,3 @@
+1.05,2.,3.
+1e4,1.,0.
+3.25e2,-2.0e3,15.55
index e69de29..be85ae7 100644 (file)
@@ -0,0 +1,16 @@
+ID,field1,field2,field3
+1,Z28,1.05,NA
+1,A32,2.,NA
+1,B21,3.,0
+2,F12,1e4,0
+2,H234,1.,1
+2,J785,0.,1
+3,S213,4.,0
+3,NaN,50.,-15,NA
+4,R234,2.1e2,1
+4,P0,2,NA
+4,D2,-23e3,0
+4,V23,-3.1e1,0
+5,N52,3.25e2,NaN
+5,NaN,-2.0e3,NaN
+5,I3,15.55,NA
diff --git a/data/preprocessing/test_convert.c b/data/preprocessing/test_convert.c
deleted file mode 100644 (file)
index 20a5807..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-int main(int argc, char** argv)
-{
-       execl("transform", "input_test.csv", 1, 3, "output_test.csv", ",");
-       //TODO: diff, .... http://stackoverflow.com/questions/7292642/grabbing-output-from-exec
-}