czyoung commited on
Commit
a73ce4b
·
verified ·
1 Parent(s): b1c27b9

Update sonogram_utility.py

Browse files
Files changed (1) hide show
  1. sonogram_utility.py +2 -1
sonogram_utility.py CHANGED
@@ -377,7 +377,8 @@ def calcSpeakingTypes(myAnnotation,maxTime):
377
  ovAnnotation = Annotation()
378
  mvAnnotation = Annotation()
379
  for currID,timeSlot in multiVoice:
380
- mvAnnotation[timeSlot] = currID
 
381
  copyOfNo = copy.deepcopy(noVoice)
382
  for emptySlot in noVoice:
383
  if checkForOverlap(timeSlot,emptySlot) is None:
 
377
  ovAnnotation = Annotation()
378
  mvAnnotation = Annotation()
379
  for currID,timeSlot in multiVoice:
380
+ currIDString = '+'.join(currID)
381
+ mvAnnotation[timeSlot] = currIDString
382
  copyOfNo = copy.deepcopy(noVoice)
383
  for emptySlot in noVoice:
384
  if checkForOverlap(timeSlot,emptySlot) is None: