jakesylvestre / cing

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

Remove matplotlib as a hard dep. #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to enable CING to be embedded in less rich Python environments.

Original issue reported on code.google.com by jurge...@gmail.com on 14 Jul 2010 at 8:55

GoogleCodeExporter commented 9 years ago
Committed in r843. Moved pretty much NTplot etc. into matplib plugin.
Left dep on numpy in because xplor-nih et al also have.

Still need to:
 - add pydev directives to make it look good.
 - test on system without matplotlib

Original comment by jurge...@gmail.com on 22 Sep 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Debugged by r845.
Test looks great.

i:ubuntu/~/ cing --test -v 0
testDBMShashing (cing.Libs.test.test_DBMS.AllChecks) ... ok
testDBMSread (cing.Libs.test.test_DBMS.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.011s

OK

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
testViolationAngle (cing.Libs.test.test_Geometry.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
testConvert2Web (cing.Libs.test.test_Imagery.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 5.819s

OK
testCircularAverage (cing.Libs.test.test_NTutils.AllChecks) ... ok
testCircularAverage2 (cing.Libs.test.test_NTutils.AllChecks) ... ok
testCircularAverage3 (cing.Libs.test.test_NTutils.AllChecks) ... ok
testCircularAverageOfTwoDihdedrals (cing.Libs.test.test_NTutils.AllChecks) ... 
ok
testFind (cing.Libs.test.test_NTutils.AllChecks) ... ok
testGeneral (cing.Libs.test.test_NTutils.AllChecks) ... ok
testNTaverage (cing.Libs.test.test_NTutils.AllChecks) ... ok
testNTlistDifference (cing.Libs.test.test_NTutils.AllChecks) ... ok
testPrints (cing.Libs.test.test_NTutils.AllChecks) ... ok
testRemoveRecursivelyAttribute (cing.Libs.test.test_NTutils.AllChecks) ... ok
testValueToFormattedString (cing.Libs.test.test_NTutils.AllChecks) ... ok

----------------------------------------------------------------------
Ran 11 tests in 0.081s

OK
testGetTextBetween (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTdict (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTdict2 (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTlistIndex (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTlistSetConsensus (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTmessage (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTtreeIndex (cing.Libs.test.test_NTutils2.AllChecks) ... ok
testNTvalue (cing.Libs.test.test_NTutils2.AllChecks) ... ok

----------------------------------------------------------------------
Ran 8 tests in 0.083s

OK
testROGscore (cing.Libs.test.test_NTutils3.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.098s

OK
testGetDeepAvgByKeys (cing.Libs.test.test_NTutils4.AllChecks) ... ok
testGetDeepByKeysOrAttributes (cing.Libs.test.test_NTutils4.AllChecks) ... ok
testNTlistLenRecursive (cing.Libs.test.test_NTutils4.AllChecks) ... ok
testNTlistRemoveDuplicates (cing.Libs.test.test_NTutils4.AllChecks) ... ok
testNTlistSort (cing.Libs.test.test_NTutils4.AllChecks) ... ok
testRmsNTlist (cing.Libs.test.test_NTutils4.AllChecks) ... ok
testToPoundedComment (cing.Libs.test.test_NTutils4.AllChecks) ... ok

----------------------------------------------------------------------
Ran 7 tests in 0.038s

OK
testAppendFromTable (cing.Libs.test.test_NTutils5.AllChecks) ... ok
testCircularAverageOfTwoDihdedrals (cing.Libs.test.test_NTutils5.AllChecks) ... 
ok
testGetEnsembleAverageAndSigmaFromHistogram 
(cing.Libs.test.test_NTutils5.AllChecks) ... ok
testGetKeyWithLargestCount (cing.Libs.test.test_NTutils5.AllChecks) ... ok
testGrep (cing.Libs.test.test_NTutils5.AllChecks) ... ok
testTimedelta2HoursMinutesAndSeconds (cing.Libs.test.test_NTutils5.AllChecks) 
... ok

----------------------------------------------------------------------
Ran 6 tests in 0.001s

OK
test_ExtendingMatrix (cing.Libs.test.test_NumpyInterpolation.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
testPeirceTest1 (cing.Libs.test.test_PeirceTest.AllChecks) ... ok
testPeirceTest2 (cing.Libs.test.test_PeirceTest.AllChecks) ... ok
testPeirceTest3 (cing.Libs.test.test_PeirceTest.AllChecks) ... ok
testPeirceTest4 (cing.Libs.test.test_PeirceTest.AllChecks) ... ok
testPeirceTest5 (cing.Libs.test.test_PeirceTest.AllChecks) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.476s

OK
test (cing.Libs.test.test_TypeChecking.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
testDisk (cing.Libs.test.test_disk.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
testIsSomething (cing.Libs.test.test_fpconst.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
test_GetSvnRevision (cing.Libs.test.test_helper.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.039s

OK
testMakeHtmlTableWithJavascriptEnabled (cing.Libs.test.test_html.AllChecks) ... 
ok
testRemovePreTagLines (cing.Libs.test.test_html.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.107s

OK
testConvoluteNumpy (cing.Libs.test.test_numpy.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
testPdbFile (cing.Libs.test.test_pdb.AllChecks) ... ok
testPrintSequenceFromPdbFile (cing.Libs.test.test_pdb.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.917s

OK
test_PDBEntryLists (cing.NRG.test.test_PDBEntryLists.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 7.655s

OK
testMapValueToMolmolColor (cing.PluginCode.test.test_MacroExternals.AllChecks) 
... ok
testPyMolIntegration (cing.PluginCode.test.test_MacroExternals.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
testRun (cing.PluginCode.test.test_shiftx.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.503s

OK
testParse (cing.STAR.test.test_File.AllChecks) ... ok
testReadFile (cing.STAR.test.test_File.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.590s

OK
testSTARrepresentation (cing.STAR.test.test_SaveFrame.AllChecks) ... ok
testcheck_integrity (cing.STAR.test.test_SaveFrame.AllChecks) ... ok
testgetSaveFrameCategory (cing.STAR.test.test_SaveFrame.AllChecks) ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.000s

OK
testGetValueListIntByColumnName (cing.STAR.test.test_TagTable.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
test (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip2 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip3 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip3a (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip4 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip5 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip6 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip7 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip8 (cing.STAR.test.test_Text.AllChecks) ... ok
testcomments_strip9 (cing.STAR.test.test_Text.AllChecks) ... ok

----------------------------------------------------------------------
Ran 11 tests in 0.001s

OK
testLister (cing.STAR.test.test_Utils.AllChecks) ... ok
testTranspose (cing.STAR.test.test_Utils.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
testRootPath (cing.core.test.test_classes.AllChecks) ... ok
test_HTMLfile_simple (cing.core.test.test_classes.AllChecks) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.100s

OK
testCreateProjects (cing.core.test.test_classes2.AllChecks) ... ok
test_simplifySpecificallyForFcFeature (cing.core.test.test_classes2.AllChecks) 
... ok

----------------------------------------------------------------------
Ran 2 tests in 0.081s

OK
testFormatAll (cing.core.test.test_main.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
testRun (cing.core.test.test_superpose.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 5.426s

OK
testRun (cing.core.test.test_validate.AllChecks) ... ok

----------------------------------------------------------------------
Ran 1 test in 4.932s

OK
CING started at : Thu Sep 23 04:19:04 2010
CING stopped at : Thu Sep 23 04:19:32 2010
CING took       : 28.144 s

Original comment by jurge...@gmail.com on 23 Sep 2010 at 11:21

GoogleCodeExporter commented 9 years ago
Closed for now. It still needs testing though.

Original comment by jurge...@gmail.com on 10 Nov 2010 at 10:26