Skip to content

Commit

Permalink
Merge pull request #4 from sladinji/patch-1
Browse files Browse the repository at this point in the history
ignore ssl error
  • Loading branch information
bvalot authored Oct 19, 2020
2 parents f7264e1 + 2c62820 commit 1fb87b5
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 1fb87b5

Please sign in to comment.