gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gfx/util papersampler.py


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gfx/util papersampler.py
Date: Tue, 04 Mar 2003 10:16:52 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        03/03/04 10:16:52

Modified files:
        gfx/util       : papersampler.py 

Log message:
        output proper trials

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/util/papersampler.py.diff?tr1=1.18&tr2=1.19&r1=text&r2=text

Patches:
Index: gzz/gfx/util/papersampler.py
diff -u gzz/gfx/util/papersampler.py:1.18 gzz/gfx/util/papersampler.py:1.19
--- gzz/gfx/util/papersampler.py:1.18   Tue Mar  4 08:31:46 2003
+++ gzz/gfx/util/papersampler.py        Tue Mar  4 10:16:52 2003
@@ -175,7 +175,9 @@
             layout = pageSpanCellView.getLayout(page)
             file = "tmp/tmp_%s_%s_%s"%(subj, trial, l)
             doFrame(lambda vs: textPaperScene(vs, layout, zoom), file )
-            f.write(file + ".mipzip 500 2000 Control_R Control_L\n")
+
+            f.write("tmp/star.mipzip 0 1000\n\n")
+            f.write(file + ".mipzip 1000 60000 Control_R Control_L\n")
             f.write("page=%s conds=%s\n" % (pagenums[trial], str(opts)))
             f.flush()
             l += 1
@@ -193,6 +195,9 @@
         
         w = gfxapi.createWindow()
         w.setLocation(0,0,xs,ys)
+
+        def nop(vs): pass
+        doFrame(nop, "tmp/star")
 
        # createPurePapers()
        createTextPapers()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]