changeset 61:a8c6d544f015

corrected bug loading Interactions
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 03 Nov 2010 22:51:38 -0400
parents 1d36a676c745
children 290fceb125d2
files python/ubc_utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/ubc_utils.py	Fri Oct 29 18:27:19 2010 -0400
+++ b/python/ubc_utils.py	Wed Nov 03 22:51:38 2010 -0400
@@ -143,7 +143,7 @@
     lines = utils.getLines(file)
     while (lines != []) and ((nInteractions<0) or (interactionNum<nInteractions)):
         parsedLine = [int(n) for n in lines[0].split(' ')]
-        inter = Interaction(interactionNum, TimeInterval(parsedLine[1],parsedLine[2]), parsedLine[3], parsedLine[4], parsedLine[5])
+        inter = Interaction(interactionNum, TimeInterval(parsedLine[1],parsedLine[2]), parsedLine[3], parsedLine[4], categoryNum = parsedLine[5])
         
         indicatorFrameNums = [int(n) for n in lines[1].split(' ')]
         indicators = []