Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|