e626254b74ecb6dc71396c1b35237b53a5e35163,oddt/datasets.py,pdbbind,__init__,#pdbbind#Any#Any#Any#Any#Any#,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)

After Change


                                            "INDEX_%s_data.%i" % (pdbind_set, version))

                if os.path.isfile(csv_file):
                    data = pd.read_csv(csv_file,
                                       sep="\s+",
                                       usecols=[0, 1, 2, 3],
                                       names=["pdbid",
                                              "resolution",
                                              "release_year",
                                              "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")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: EpistasisLab/penn-ml-benchmarks
Commit Name: 862f99942ce1eefe93f0cfd1bcf3ade031679cd4
Time: 2020-09-03
Author: grixor@gmail.com
File Name: pmlb/dataset_lists.py
Class Name:
Method Name:


Project Name: ina-foss/inaSpeechSegmenter
Commit Name: fc730c7fdbf495715faf9a68325689ba73be059f
Time: 2020-05-09
Author: ddoukhan@ina.fr
File Name: run_tests.py
Class Name: TestInaSpeechSegmenter
Method Name: test_processingresult