alrichardbollans
commited on
Commit
·
135e80a
1
Parent(s):
8b0d48c
Add accepted name to results
Browse files
app.py
CHANGED
|
@@ -191,7 +191,7 @@ def server(input, output, session):
|
|
| 191 |
results = saved_results.get()
|
| 192 |
results.append({
|
| 193 |
"json_file": matching_row['json_file'].iloc[0],
|
| 194 |
-
"taxon_name": current_taxon.scientific_name,
|
| 195 |
"compound_name": current_compound,
|
| 196 |
"inchikey": current_taxon.inchi_keys[current_compound],
|
| 197 |
"decision": matching_row['decision'].iloc[0]
|
|
@@ -264,7 +264,7 @@ def server(input, output, session):
|
|
| 264 |
results = saved_results.get()
|
| 265 |
results.append({
|
| 266 |
"json_file": json_file_name,
|
| 267 |
-
"taxon_name": current_taxon.scientific_name,
|
| 268 |
"compound_name": current_compound,
|
| 269 |
"inchikey": current_inchikey,
|
| 270 |
"decision": "Yes"
|
|
@@ -301,7 +301,7 @@ def server(input, output, session):
|
|
| 301 |
results = saved_results.get()
|
| 302 |
results.append({
|
| 303 |
"json_file": json_file_name,
|
| 304 |
-
"taxon_name": current_taxon.scientific_name,
|
| 305 |
"compound_name": current_compound,
|
| 306 |
"inchikey": current_inchikey,
|
| 307 |
"decision": "No"
|
|
|
|
| 191 |
results = saved_results.get()
|
| 192 |
results.append({
|
| 193 |
"json_file": matching_row['json_file'].iloc[0],
|
| 194 |
+
"taxon_name": current_taxon.scientific_name, "accepted_name": current_taxon.accepted_name,
|
| 195 |
"compound_name": current_compound,
|
| 196 |
"inchikey": current_taxon.inchi_keys[current_compound],
|
| 197 |
"decision": matching_row['decision'].iloc[0]
|
|
|
|
| 264 |
results = saved_results.get()
|
| 265 |
results.append({
|
| 266 |
"json_file": json_file_name,
|
| 267 |
+
"taxon_name": current_taxon.scientific_name, "accepted_name": current_taxon.accepted_name,
|
| 268 |
"compound_name": current_compound,
|
| 269 |
"inchikey": current_inchikey,
|
| 270 |
"decision": "Yes"
|
|
|
|
| 301 |
results = saved_results.get()
|
| 302 |
results.append({
|
| 303 |
"json_file": json_file_name,
|
| 304 |
+
"taxon_name": current_taxon.scientific_name, "accepted_name": current_taxon.accepted_name,
|
| 305 |
"compound_name": current_compound,
|
| 306 |
"inchikey": current_inchikey,
|
| 307 |
"decision": "No"
|