fadliaulawi
commited on
Commit
•
febf272
1
Parent(s):
31eb136
FIx exception bug
Browse files- validate.py +1 -1
validate.py
CHANGED
@@ -75,7 +75,7 @@ class Validation():
|
|
75 |
try:
|
76 |
res = res.json()
|
77 |
dbsnp[snp] = [r['gene']['geneName'] for r in res['genomicContexts']]
|
78 |
-
except:
|
79 |
print("Error at first API", e)
|
80 |
dbsnp[snp] = []
|
81 |
|
|
|
75 |
try:
|
76 |
res = res.json()
|
77 |
dbsnp[snp] = [r['gene']['geneName'] for r in res['genomicContexts']]
|
78 |
+
except Exception as e:
|
79 |
print("Error at first API", e)
|
80 |
dbsnp[snp] = []
|
81 |
|