e626254b74ecb6dc71396c1b35237b53a5e35163,oddt/datasets.py,pdbbind,__init__,#pdbbind#,22
Before Change
"INDEX_%s_data.%i" % (pdbind_set, version))
if isfile(csv_file):
self._set_ids[pdbind_set] = []
self._set_act[pdbind_set] = []
for row in csv.reader(_csv_file_filter(csv_file), delimiter=" "):
pdbid = row[0]
f = join(self.home, self.id, "%s_pocket.pdb" % self.id)
if not isfile(f):
continue
self._set_ids[pdbind_set].append(pdbid)
self._set_act[pdbind_set].append(float(row[3]))
self.sets[pdbind_set] = dict(zip(self._set_ids[pdbind_set],
self._set_act[pdbind_set]))
if len(self.sets) == 0:
After Change
"act"],
comment="//")
self._set_ids[pdbind_set] = data["pdbid"].tolist()
self._set_act[pdbind_set] = data["act"].tolist()
self.sets[pdbind_set] = dict(zip(self._set_ids[pdbind_set],
self._set_act[pdbind_set]))
if len(self.sets) == 0:
raise Exception("There is no PDBbind set availabe")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: oddt/oddt
Commit Name: e626254b74ecb6dc71396c1b35237b53a5e35163
Time: 2017-08-23
Author: maciek@wojcikowski.pl
File Name: oddt/datasets.py
Class Name: pdbbind
Method Name: __init__
Project Name: pgmpy/pgmpy
Commit Name: f58745ab284f48b7ef4ce813f5f8cd26bdb3c0a8
Time: 2015-06-16
Author: ankurankan@gmail.com
File Name: pgmpy/inference/Sampling.py
Class Name: BayesianModelSampling
Method Name: forward_sample
Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 31f768dd2cd555649d2b0e494935cb37cf223142
Time: 2019-03-22
Author: datarian@againstthecurrent.ch
File Name: category_encoders/one_hot.py
Class Name: OneHotEncoder
Method Name: reverse_dummies