bbe6005e22de97a26946e61dafa36b83a0f7f2d2,lib/prody/tests/test_sequence/test_analysis.py,TestCalcSCA,testMATLAB,#TestCalcSCA#,574
Before Change
def testMATLAB(self):
mat = scipy.io.loadmat(pathDatafile("sca.mat"))
expect = mat["sca"]
result = buildSCAMatrix(FASTA, turbo=True)
assert_array_almost_equal(expect, result, err_msg="turbo failed")
result = buildSCAMatrix(FASTA, turbo=False)
assert_array_almost_equal(expect, result, err_msg="w/out turbo failed")
After Change
def testMATLAB(self):
sca = fromfile(pathDatafile("msa_Cys_knot_sca.dat"))
expect = sca.reshape((10, 10))
fasta = FASTA[:,:10]
result = buildSCAMatrix(fasta, turbo=True)
assert_array_almost_equal(expect, result, err_msg="turbo failed")
result = buildSCAMatrix(fasta, turbo=False)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: prody/ProDy
Commit Name: bbe6005e22de97a26946e61dafa36b83a0f7f2d2
Time: 2013-11-04
Author: lordnapi@gmail.com
File Name: lib/prody/tests/test_sequence/test_analysis.py
Class Name: TestCalcSCA
Method Name: testMATLAB
Project Name: brian-team/brian2
Commit Name: cf7612a89dfcbe4dc98edb0f553f369a355b6831
Time: 2013-11-04
Author: marcel.stimberg@ens.fr
File Name: dev/ideas/devices/cpp_standalone_licklider.py
Class Name:
Method Name:
Project Name: brian-team/brian2
Commit Name: 03d2d6d90da0ea259e33b9a6ef3e67bddac49566
Time: 2013-10-25
Author: marcel.stimberg@ens.fr
File Name: brian2/tests/test_cpp_standalone.py
Class Name:
Method Name: test_cpp_standalone