e73882f59bad1bb73a1cd7070f01e147f69c5bf4,lib/prody/proteins/blastpdb.py,,blastPDB,#Any#Any#,32
Before Change
LOGGER.sleep(int(sleep), "to reconnect NCBI for search results.")
LOGGER.write("Connecting NCBI for search results...")
request = urllib2.Request(url, data, {"User-agent": "ProDy"})
handle = urllib2.urlopen(request)
results = handle.read()
index = results.find("Status=")
LOGGER.clear()
if index < 0:
After Change
LOGGER.warn("Keyword argument(s) {0} are not used."
.format(", ".join([repr(key) for key in kwargs])))
try:
import urllib.parse
urlencode = lambda data: bytes(urllib.parse.urlencode(data), "utf-8")
except ImportError:
from urllib import urlencode
url = "http://blast.ncbi.nlm.nih.gov/Blast.cgi"
data = urlencode(query)
LOGGER.timeit("_prody_blast")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: prody/ProDy
Commit Name: e73882f59bad1bb73a1cd7070f01e147f69c5bf4
Time: 2012-12-01
Author: lordnapi@gmail.com
File Name: lib/prody/proteins/blastpdb.py
Class Name:
Method Name: blastPDB
Project Name: okfn-brasil/serenata-de-amor
Commit Name: e1d39a4c9158c9a9db1218cb5be9946152e2ca1b
Time: 2017-04-14
Author: marcus.rehm@gmail.com
File Name: src/fetch_cnpj_info.py
Class Name:
Method Name: fetch_cnpj_info
Project Name: rusty1s/pytorch_geometric
Commit Name: b05d8e997cabc06149900dfdb4e7c9242f3de0ec
Time: 2017-11-25
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/datasets/utils/download.py
Class Name:
Method Name: download_url