a003496dba3190c2e874dc0f574025c1aab46828,prody/database/dali.py,,searchDali,#Any#Any#Any#Any#,23
Before Change
pdb_chain = pdbId + chain
dali_title = "Title_"+pdb_chain
else:
raise ValueError("invalid input: " + pdb)
parameters = { "cd1" : pdb_chain, "method": "search", "title": dali_title, "address": "" }
// enc_params = urllib.urlencode(parameters).encode("utf-8")
// request = urllib2.Request(daliURL, enc_params)
request = requests.post(daliURL, parameters, files=files)
After Change
raise ValueError("input structure (%s) does not have chain %s"%(atoms.getTitle(), chain))
if len(chain_set) > 1:
if not chain:
raise TypeError("the structure (%s) contains more than one chain, therefore a chain identifier "
"needs to be specified"%pdb.getTitle())
atoms = atoms.select("chain "+chain)
else:
chain = chain_set.pop()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: prody/ProDy
Commit Name: a003496dba3190c2e874dc0f574025c1aab46828
Time: 2018-09-21
Author: shz66@pitt.edu
File Name: prody/database/dali.py
Class Name:
Method Name: searchDali
Project Name: prody/ProDy
Commit Name: 8c7303cf0c49de8b8a18a101876f0eed9155ab90
Time: 2018-03-04
Author: jamesmkrieger@gmail.com
File Name: prody/ensemble/functions.py
Class Name:
Method Name: buildPDBEnsemble
Project Name: prody/ProDy
Commit Name: a6111f041c820af574ffa1acba895bdf20ef1a4e
Time: 2018-06-01
Author: shz66@pitt.edu
File Name: prody/ensemble/functions.py
Class Name:
Method Name: buildPDBEnsemble