czyoung commited on
Commit
6233f8b
·
verified ·
1 Parent(s): a9f7003

Update sonogram_utility.py

Browse files
Files changed (1) hide show
  1. sonogram_utility.py +1 -1
sonogram_utility.py CHANGED
@@ -248,7 +248,7 @@ def annotationToDataFrame(myAnnotation):
248
  for currSpeaker in myAnnotation.labels():
249
  if currSpeaker not in speakerDict.keys():
250
  speakerDict[currSpeaker] = []
251
- for currSegment in myAnnotation.subset([speaker]).itersegments():
252
  speakerDict[currSpeaker].append(currSegment)
253
 
254
  timeSummary = {}
 
248
  for currSpeaker in myAnnotation.labels():
249
  if currSpeaker not in speakerDict.keys():
250
  speakerDict[currSpeaker] = []
251
+ for currSegment in myAnnotation.subset([currSpeaker]).itersegments():
252
  speakerDict[currSpeaker].append(currSegment)
253
 
254
  timeSummary = {}