7fe6e64b7ff3ef7c0a060ccd3c702005e9458bbc,deepchem/datasets/pdbbind_datasets.py,,load_core_pdbbind_grid,#Any#Any#Any#,78
Before Change
computed_feature = compute_pdbbind_grid_feature(
compound_featurizers, complex_featurizers, pdb_subdir, pdb_code)
if len(computed_feature) == 0:
computed_feature = np.zeros(1024)
features.append(computed_feature)
X = np.vstack(features)
w = np.ones_like(y)
After Change
compound_featurizers, complex_featurizers, pdb_subdir, pdb_code)
if feature_len is None:
feature_len = len(computed_feature)
if len(computed_feature) != feature_len:
print("Featurization failed for %s!" % pdb_code)
continue
y_inds.append(ind)
features.append(computed_feature)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// DEBUG
print("[feature.shape for feature in features]")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: deepchem/deepchem
Commit Name: 7fe6e64b7ff3ef7c0a060ccd3c702005e9458bbc
Time: 2016-09-13
Author: bharath.ramsundar@gmail.com
File Name: deepchem/datasets/pdbbind_datasets.py
Class Name:
Method Name: load_core_pdbbind_grid
Project Name: biotite-dev/biotite
Commit Name: 7667b2408f7f109e7ca179593c5998c132651fed
Time: 2018-09-25
Author: patrick.kunzm@gmail.com
File Name: doc/examples/scripts/sequence/lexa_conservation.py
Class Name:
Method Name:
Project Name: facebookresearch/deepcluster
Commit Name: 483391c3cbaf1b484cccdb30433de32ce052dc77
Time: 2019-09-05
Author: mathilde@fb.com
File Name: util.py
Class Name: UnifLabelSampler
Method Name: generate_indexes_epoch