czyoung commited on
Commit
e60ff5c
·
verified ·
1 Parent(s): 3505359

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -159,14 +159,14 @@ def analyze(inFileName):
159
  for i, categoryName in enumerate(nameList):
160
  if sp in categorySelections[i]:
161
  #st.info(categoryName)
162
- valueList[i] += sumTimes(currAnnotation.subset([sp]))
163
  foundSp = True
164
  break
165
  if foundSp:
166
  continue
167
  else:
168
  extraNames.append(sp)
169
- extraValues.append(sumTimes(currAnnotation.subset([sp])))
170
  df4_dict = {
171
  "values": valueList+extraValues,
172
  "names": nameList+extraNames,
 
159
  for i, categoryName in enumerate(nameList):
160
  if sp in categorySelections[i]:
161
  #st.info(categoryName)
162
+ valueList[i] += su.sumTimes(currAnnotation.subset([sp]))
163
  foundSp = True
164
  break
165
  if foundSp:
166
  continue
167
  else:
168
  extraNames.append(sp)
169
+ extraValues.append(su.sumTimes(currAnnotation.subset([sp])))
170
  df4_dict = {
171
  "values": valueList+extraValues,
172
  "names": nameList+extraNames,