You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/05/04 23:06:48 UTC
cvs commit: gump/python/gump/document/forrest documenter.py
ajack 2004/05/04 14:06:48
Modified: python/gump/document/forrest documenter.py
Log:
Suppress PNGs (SVGs) until we have a web app.
Revision Changes Path
1.26 +10 -9 gump/python/gump/document/forrest/documenter.py
Index: documenter.py
===================================================================
RCS file: /home/cvs/gump/python/gump/document/forrest/documenter.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- documenter.py 4 May 2004 15:12:52 -0000 1.25
+++ documenter.py 4 May 2004 21:06:48 -0000 1.26
@@ -1577,9 +1577,9 @@
statsTable=statsSection.createTable()
# Generate an SVG for FOG:
- (pngFile,pngTitle) = self.diagramFOG(project)
- if pngFile:
- statsTable.createEntry("FOG Factor: ").createData().createIcon(pngFile,pngTitle)
+ #(pngFile,pngTitle) = self.diagramFOG(project)
+ #if pngFile:
+ # statsTable.createEntry("FOG Factor: ").createData().createIcon(pngFile,pngTitle)
statsTable.createEntry("FOG Factor: ", '%02.2f' % stats.getFOGFactor())
statsTable.createEntry('Dependency Depth: ', project.getDependencyDepth())
@@ -2739,7 +2739,8 @@
fileName='project_fogfactor'
documentFile=self.resolver.getFile(stats,fileName)
document=XDocDocument('Projects By FOG Factor', documentFile)
- fogTable=document.createTable(['Project','Successes','Failures','Preq-Failures','FOG Factor'])
+ #fogTable=document.createTable(['Project','Successes','Failures','Preq-Failures','FOG Factor'])
+ fogTable=document.createTable(['Project','Successes','Failures','Preq-Failures'])
for project in stats.projectsByFOGFactor:
if not gumpSet.inProjectSequence(project): continue
fogRow=fogTable.createRow()
@@ -2753,11 +2754,11 @@
fogRow.createData('%02.2f' % pstats.getFOGFactor())
# Generate an SVG for FOG:
- (pngFile,pngTitle) = self.diagramFOG(project,stats)
- if pngFile:
- fogRow.createData().createIcon(pngFile,pngTitle)
- else:
- fogRow.createData('Not Available')
+ #(pngFile,pngTitle) = self.diagramFOG(project,stats)
+ #if pngFile:
+ # fogRow.createData().createIcon(pngFile,pngTitle)
+ #else:
+ # fogRow.createData('Not Available')
document.serialize()
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org