jakesylvestre / cing

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

Update needed for matplotlib #217

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
run with version 0.98.5.3

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/Users/jd/workspace34/cingStable/python/cing/Scripts/validateEntry.py", line 266, in 
<module>
    status = main(*sys.argv[1:])
  File "/Users/jd/workspace34/cingStable/python/cing/Scripts/validateEntry.py", line 195, in 
main
    if project.validate(htmlOnly = htmlOnly, doProcheck = doProcheck, doWhatif = doWhatif):
  File "/Users/jd/workspace34/cingStable/python/cing/core/classes.py", line 976, in validate
    return validate( self, ranges=ranges, parseOnly=parseOnly, htmlOnly=htmlOnly, doProcheck = 
doProcheck, doWhatif=doWhatif, doWattos=doWattos )
  File "/Users/jd/workspace34/cingStable/python/cing/core/validate.py", line 127, in validate
    project.generateHtml(htmlOnly = htmlOnly)
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/html.py", line 389, in 
generateHtml
    res.html.generateHtml(htmlOnly=htmlOnly)
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/html.py", line 1826, in 
generateHtml
    ps = makeDihedralPlot( project, [residue], plotDihedralName1, plotDihedralName2, 
htmlOnly=htmlOnly)
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/html.py", line 255, in 
makeDihedralPlot
    plot.dihedralComboPlot(histList)
  File "/Users/jd/workspace34/cingStable/python/cing/Libs/NTplot.py", line 1098, in 
dihedralComboPlot
    green_inv  = colors.LinearSegmentedColormap.from_list('inv_green', ('white', 'green'))
AttributeError: class LinearSegmentedColormap has no attribute 'from_list'

Solution: update to 0.99.1

Original issue reported on code.google.com by jurge...@gmail.com on 6 Nov 2009 at 1:47