jakesylvestre / cing

Automatically exported from code.google.com/p/cing
0 stars 0 forks source link

Debug unit checks for optional plug ins. #245

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?

Overall mistakes:
FAIL: testNmrStar (cing.PluginCode.test.test_NmrStar.AllChecks)
FAIL: testNmrStar (cing.PluginCode.test.test_RPF.AllChecks)
FAIL: testWattos (cing.PluginCode.test.test_Wattos.AllChecks)
FAIL: testRunWhatif (cing.PluginCode.test.test_Whatif.AllChecks)
FAIL: testInitCcpn (cing.PluginCode.test.test_ccpn.AllChecks)

On GWV's install:

testNmrStar (cing.PluginCode.test.test_NmrStar.AllChecks) ... Moving CCPN 
directory from [linkNmrStarData] to [1a4d]
==> Importing data from Ccpn project "1a4d"
Non-standard (residues and their) atoms added:
A   : [ 73 78 94 99 101 104]
C   : [ 70 71 88 90 91 92 93 97 107 108]
G   : [ 68 69 72 75 76 79 81 83 84 85 86 96 98 100 102 105 106]
U   : [ 74 77 80 82 87 89 95 103]
==> Molecule 1a4d: No potential disulfide bridged residues found
Calculating rmsd's (residues: 68-108, models: 0-0)
==> Ccpn molecule '1a4d' imported
==> Ccpn project imported
-------------------------------------------------------
==> Saving <Project 1a4d>
==> Saved <Molecule "1a4d" (C:2,R:41,A:1449,M:1)> to 
"1a4d.cing/Data/Molecules/1a4d.molecule"
==> Saving <DistanceRestraintList "distance_constraint_list" (keep,375)> to 
1a4d.cing/Data/Restraints/distance_constraint_list.distances
Running Wim Vranken's FormatConverter from script 
$CINGROOT/python/cing/Scripts/FC/convertCcpn2Nmrstar.py
ERROR: Failed convertProgram with exit code: 256
FAIL

======================================================================
FAIL: testNmrStar (cing.PluginCode.test.test_NmrStar.AllChecks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/UserHome/geerten/workspace/cingGoogle/python/cing/PluginCode/test/test_NmrStar.py", line 57, in testNmrStar
    self.assertTrue( nmrStar.toNmrStarFile( fileName ))
AssertionError

----------------------------------------------------------------------
Ran 1 test in 6.102s

FAILED (failures=1)

And the same for Wattos

Missing talos which is a dep for nih plugin
Skipping test report of an optional compound: nih
testWattos (cing.PluginCode.test.test_Wattos.AllChecks) ... Moving CCPN 
directory from [linkNmrStarData] to [1brv]
==> Importing data from Ccpn project "1brv"
Non-standard (residues and their) atoms added:
GLU : [ 189]
==> Molecule 1brv: No potential disulfide bridged residues found
Calculating rmsd's (residues: 158-189, models: 0-0)
==> Ccpn molecule '1brv' imported
==> Ccpn project imported
Running Wim Vranken's FormatConverter from script 
$CINGROOT/python/cing/Scripts/FC/convertCcpn2Nmrstar.py
ERROR: Failed convertProgram with exit code: 256
Failed to nmrStar.toNmrStarFile (fine if there wasn't a CCPN project to start 
with)
FAIL

======================================================================
FAIL: testWattos (cing.PluginCode.test.test_Wattos.AllChecks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/UserHome/geerten/workspace/cingGoogle/python/cing/PluginCode/test/test_Wattos.py", line 54, in testWattos
    self.assertTrue(runWattos(project))
AssertionError

----------------------------------------------------------------------
Ran 1 test in 3.748s

FAILED (failures=1)

testRunWhatif (cing.PluginCode.test.test_Whatif.AllChecks) ... Removing 
existing cing project "<Project 1brv>"
Moving CCPN directory from [linkNmrStarData] to [1brv]
==> Importing data from Ccpn project "1brv"
Non-standard (residues and their) atoms added:
GLU : [ 189]
==> Molecule 1brv: No potential disulfide bridged residues found
Calculating rmsd's (residues: 158-189, models: 0-0)
==> Ccpn molecule '1brv' imported
==> Ccpn project imported
==> Running What If checks on 32 residues for an estimated (7 residues/s): 4 
seconds; please wait
It takes much longer per residue for a small molecule/ensemble
0ERROR: Whatif._parseCheckdb: file "1brv.cing/1brv/Whatif/check_000.db" not 
found.
ERROR: 
runWhatif: Failed to parse check db check_000.db
FAIL

======================================================================
FAIL: testRunWhatif (cing.PluginCode.test.test_Whatif.AllChecks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/UserHome/geerten/workspace/cingGoogle/python/cing/PluginCode/test/test_Whatif.py", line 75, in testRunWhatif
    self.assertFalse(runWhatif(project, parseOnly=False))
AssertionError

----------------------------------------------------------------------
Ran 1 test in 2.863s

FAILED (failures=1)

testInitCcpn (cing.PluginCode.test.test_ccpn.AllChecks) ... ERROR: Will not 
untar 1brv by overwriting current copy
ERROR: Failed readCcpnFolder
ERROR: initCcpn: Failed importFromCcpn
FAIL

======================================================================
FAIL: testInitCcpn (cing.PluginCode.test.test_ccpn.AllChecks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/UserHome/geerten/workspace/cingGoogle/python/cing/PluginCode/test/test_ccpn.py", line 97, in testInitCcpn
    self.assertTrue(project.initCcpn(ccpnFolder = ccpnFile, modelCount=modelCount))
AssertionError

----------------------------------------------------------------------
Ran 1 test in 0.096s

FAILED (failures=1)

Original issue reported on code.google.com by jurge...@gmail.com on 2 Jun 2010 at 11:08

GoogleCodeExporter commented 8 years ago
Removed: FAIL: testNmrStar (cing.PluginCode.test.test_RPF.AllChecks)

Original comment by jurge...@gmail.com on 2 Jun 2010 at 11:08

GoogleCodeExporter commented 8 years ago
This works fine now.
In VirtualCing tested.

Original comment by jurge...@gmail.com on 22 Sep 2010 at 2:28