Skip to content

Commit

Permalink
ignore ssl error
Browse files Browse the repository at this point in the history
  • Loading branch information
sladinji authored Oct 19, 2020
1 parent f7264e1 commit 2c62820
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ISFinder_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,14 @@ def search_ISfinder(potential_sequence):
data = {'title' : 'test', 'seq' : potential_sequence, 'seqfile' \
: '', 'database' : 'ISfindernt', 'prog' : 'blastn', 'blast' \
: 'ok', 'alignment' : '7', 'wordsize' : '11','expect' : '10.0' \
, 'gapcost' : '5 2'})
, 'gapcost' : '5 2'},
verify=False)
##get url result
parser = URLParser()
parser.feed(r.text)

##downoad blast result
o = requests.get('https://www-is.biotoul.fr/blast/' + parser.urlres)
o = requests.get('https://www-is.biotoul.fr/blast/' + parser.urlres, verify=False)
parser = BlastParser()
parser.feed(o.text)
return parser.result
Expand Down

0 comments on commit 2c62820

Please sign in to comment.