a47422a8e1e3bc8971e982d4879a18e8d9887c16,deepchem/feat/tests/test_coulomb_matrices.py,TestCoulombMatrix,test_coulomb_matrix,#TestCoulombMatrix#,27
Before Change
Test CoulombMatrix.
f = CoulombMatrix(self.mol.GetNumAtoms())
rval = f([self.mol])
assert rval.shape == (1, self.mol.GetNumConformers(),
self.mol.GetNumAtoms(), self.mol.GetNumAtoms())
After Change
rval = f([self.mol_with_no_conf])
assert rval.shape == (1, self.num_atoms, self.num_atoms)
rval = f([self.mol_with_one_conf])
assert rval.shape == (1, self.num_atoms, self.num_atoms)
rval = f([self.mol_with_multi_conf])
assert rval.shape == (1, self.num_confs, self.num_atoms, self.num_atoms)
def test_coulomb_matrix_padding(self):
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: deepchem/deepchem
Commit Name: a47422a8e1e3bc8971e982d4879a18e8d9887c16
Time: 2020-09-03
Author: nd.12021218@gmail.com
File Name: deepchem/feat/tests/test_coulomb_matrices.py
Class Name: TestCoulombMatrix
Method Name: test_coulomb_matrix
Project Name: deepchem/deepchem
Commit Name: a47422a8e1e3bc8971e982d4879a18e8d9887c16
Time: 2020-09-03
Author: nd.12021218@gmail.com
File Name: deepchem/feat/tests/test_coulomb_matrices.py
Class Name: TestCoulombMatrixEig
Method Name: test_coulomb_matrix_eig
Project Name: deepchem/deepchem
Commit Name: a47422a8e1e3bc8971e982d4879a18e8d9887c16
Time: 2020-09-03
Author: nd.12021218@gmail.com
File Name: deepchem/feat/tests/test_coulomb_matrices.py
Class Name: TestCoulombMatrix
Method Name: test_coulomb_matrix_hydrogens
Project Name: deepchem/deepchem
Commit Name: a47422a8e1e3bc8971e982d4879a18e8d9887c16
Time: 2020-09-03
Author: nd.12021218@gmail.com
File Name: deepchem/feat/tests/test_coulomb_matrices.py
Class Name: TestCoulombMatrix
Method Name: test_coulomb_matrix_padding
Project Name: deepchem/deepchem
Commit Name: a47422a8e1e3bc8971e982d4879a18e8d9887c16
Time: 2020-09-03
Author: nd.12021218@gmail.com
File Name: deepchem/feat/tests/test_coulomb_matrices.py
Class Name: TestCoulombMatrix
Method Name: test_upper_tri_coulomb_matrix_padding
Project Name: deepchem/deepchem
Commit Name: a47422a8e1e3bc8971e982d4879a18e8d9887c16
Time: 2020-09-03
Author: nd.12021218@gmail.com
File Name: deepchem/feat/tests/test_coulomb_matrices.py
Class Name: TestCoulombMatrix
Method Name: test_upper_tri_coulomb_matrix