Skip to content

Commit 25422d1

Browse files
committed
ruff
1 parent ecdc76b commit 25422d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

v03_pipeline/lib/misc/allele_registry.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ def register_alleles(
9797
with hfs.open(formatted_vcf_file_name, 'r') as vcf_in:
9898
data = vcf_in.read()
9999
s = requests.Session()
100-
retries = Retry(total=5, backoff_factor=1, status_forcelist=[ 500, 502, 503, 504 ])
100+
retries = Retry(
101+
total=5, backoff_factor=1, status_forcelist=[500, 502, 503, 504]
102+
)
101103
s.mount('https://', HTTPAdapter(max_retries=retries))
102104
res = s.put(
103105
url=build_url(base_url, reference_genome),

0 commit comments

Comments
 (0)