Reorganise R files and connect with python test code

This commit is contained in:
2015-12-18 18:06:28 +00:00
parent 2369ca508d
commit 3b92594fb7
6 changed files with 52 additions and 35 deletions

View File

@@ -114,8 +114,8 @@ class Flow:
for item in contents:
self.downloadTraining(item['listItemId'])
def processTraining(self):
proc = subprocess.Popen(['RScript','test.R', 'Rik_Veenboer_2015-04-25_10-14-43'], stdout = subprocess.PIPE, universal_newlines = True)
def processTraining(self, session):
proc = subprocess.Popen(['RScript','test.R', session], stdout = subprocess.PIPE, universal_newlines = True)
while True:
line = proc.stdout.readline()
if line != '':