Skip to content

Commit 75f7182

Browse files
rush17mbgyori
authored andcommitted
updated doctring
1 parent 7af532f commit 75f7182

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

mira/sources/sympy_ode/paper_extraction.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,21 @@ def run_marker_pipeline(pdf_file, pmid: str, paper_base: Path, ode_extraction_me
242242
return ode
243243

244244
def run_xml_pipeline(pmc, pmid: str) -> dict:
245+
"""
246+
Run the XML pipeline to extract equations using the PMC ID, then run the multi-agent pipeline to extract the ODE string from the equations.
247+
248+
Parameters
249+
----------
250+
pmc :
251+
The PMC ID of the paper
252+
pmid:
253+
PMID of the paper
254+
255+
Returns
256+
-------
257+
:
258+
A dictionary containing the ODE string, corrected ODE string and grounded concepts.
259+
"""
245260
logger.info("running xml")
246261
try:
247262
eqns = []

0 commit comments

Comments
 (0)