Spaces:
Running
Running
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -870,7 +870,7 @@ async def pipeline_with_gemini(accessions,stop_flag=None, save_df=None, niche_ca
|
|
| 870 |
acc_score["source"] = links
|
| 871 |
# add into the number of publications
|
| 872 |
print("done adding links into source and here are number of links: ", len(acc_score["source"]))
|
| 873 |
-
acc_score["signals"]["
|
| 874 |
# add if accession_found_in_text or not
|
| 875 |
print("accession found in text: ", accession_found_in_text)
|
| 876 |
acc_score["signals"]["accession_found_in_text"] = accession_found_in_text
|
|
|
|
| 870 |
acc_score["source"] = links
|
| 871 |
# add into the number of publications
|
| 872 |
print("done adding links into source and here are number of links: ", len(acc_score["source"]))
|
| 873 |
+
acc_score["signals"]["num_publications"] += len(acc_score["source"])
|
| 874 |
# add if accession_found_in_text or not
|
| 875 |
print("accession found in text: ", accession_found_in_text)
|
| 876 |
acc_score["signals"]["accession_found_in_text"] = accession_found_in_text
|