Download test_franklin_parse.py from OpenVar/backend: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/OpenVar/backend/resolve/main/test_franklin_parse.py
- Command line
-
hf download hf://spaces/OpenVar/backend/test_franklin_parse.py
-
curl -L -o test_franklin_parse.py https://huggingface.co/spaces/OpenVar/backend/resolve/main/test_franklin_parse.py
335 Bytes
| import asyncio | |
| from app.services.franklin_service import parse_search_query_via_franklin | |
| async def main(): | |
| res1 = await parse_search_query_via_franklin("chr3:10142140 A-G", "hg19") | |
| print("hg19:", res1) | |
| res2 = await parse_search_query_via_franklin("chr3:10142140 A-G", "hg38") | |
| print("hg38:", res2) | |
| asyncio.run(main()) | |