Spaces:
Running
Running
Update mtdna_backend.py
Browse files- mtdna_backend.py +1 -1
mtdna_backend.py
CHANGED
@@ -266,7 +266,7 @@ def summarize_results(accession):
|
|
266 |
# print(f"⚠️ Failed to save known output to Google Sheets: {e}")
|
267 |
try:
|
268 |
# Prepare as DataFrame
|
269 |
-
df_new = pd.DataFrame(
|
270 |
"Sample ID", "Predicted Country", "Country Explanation",
|
271 |
"Predicted Sample Type", "Sample Type Explanation",
|
272 |
"Sources", "Query_cost", "Time cost"
|
|
|
266 |
# print(f"⚠️ Failed to save known output to Google Sheets: {e}")
|
267 |
try:
|
268 |
# Prepare as DataFrame
|
269 |
+
df_new = pd.DataFrame(save_rows, columns=[
|
270 |
"Sample ID", "Predicted Country", "Country Explanation",
|
271 |
"Predicted Sample Type", "Sample Type Explanation",
|
272 |
"Sources", "Query_cost", "Time cost"
|