e626254b74ecb6dc71396c1b35237b53a5e35163,oddt/datasets.py,pdbbind,__init__,#pdbbind#,22
Before Change
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]))
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: 4
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: eriklindernoren/PyTorch-YOLOv3
Commit Name: f356a01b5c1914e633b151c412ad34047b35727d
Time: 2019-04-26
Author: eriklindernoren@live.se
File Name: test.py
Class Name:
Method Name:
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