We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e341601 commit 1d38c40Copy full SHA for 1d38c40
python/tp53/seshat/upload_vcf/_upload_vcf.py
@@ -1,4 +1,5 @@
1
import logging
2
+import os
3
import time
4
from datetime import datetime
5
from datetime import timedelta
@@ -63,6 +64,9 @@ def upload_vcf(
63
64
"""
65
vcf = str(Path(vcf).expanduser().resolve().absolute())
66
67
+ if not os.path.exists(vcf):
68
+ raise FileNotFoundError(f"Could not find VCF at path: {vcf}")
69
+
70
service = webdriver.ChromeService()
71
options = webdriver.ChromeOptions()
72
options.add_argument("headless")
0 commit comments