a47422a8e1e3bc8971e982d4879a18e8d9887c16,deepchem/feat/tests/test_coulomb_matrices.py,TestCoulombMatrix,test_upper_tri_coulomb_matrix_padding,#TestCoulombMatrix#,54

Before Change


    
        Test upper triangular CoulombMatrix with padding.
        
    f = CoulombMatrix(max_atoms=self.mol.GetNumAtoms() * 2, upper_tri=True)
    rval = f([self.mol])
    size = np.triu_indices(self.mol.GetNumAtoms() * 2)[0].size
    assert rval.shape == (1, self.mol.GetNumConformers(), size)

After Change


    rval = f([self.mol_with_no_conf])
    assert rval.shape == (1, size)
    rval = f([self.mol_with_one_conf])
    assert rval.shape == (1, size)
    rval = f([self.mol_with_multi_conf])
    assert rval.shape == (1, self.num_confs, size)

  def test_coulomb_matrix_no_hydrogens(self):
Italian Trulli
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_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


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_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


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