Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/ein16/synth/d2/write.py
ViewVC logotype

Diff of /branches/ein16/synth/d2/write.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4458, Sat Aug 27 19:52:38 2016 UTC revision 4481, Thu Sep 1 17:58:00 2016 UTC
# Line 88  Line 88 
88      writeall(x)      writeall(x)
89      writesummary(x)      writesummary(x)
90    
91    def writenow(xx):
92        print(xx)
93        writeall(xx)
94        writesummary(xx)
95    
96    
97  def write_results(pre, testing_frame, cnt):  def write_results(pre, testing_frame, cnt):
98      # global variables needed from testing framework      # global variables needed from testing framework
99      g_branch = frame.get_branch(testing_frame)      g_branch = frame.get_branch(testing_frame)
100      x= "\n"      x= "\n Shape"
101      x+= pre+"- "+g_branch      x+= pre+"- "+g_branch
102      x+=  counter.writeLocal(cnt)      x+=  counter.writeLocal(cnt)
103      x+="\n***************************************************\n"      x+="\n***************************************************\n"
104      writeall(x)      writeall(x)
105      writesummary(x)      writesummary(x)
106        print(x)
107    
108    
109  def writeResults_inner(opr_inner, testing_frame, cnt):  def writeResults_inner(opr_inner, testing_frame, cnt):
# Line 109  Line 115 
115      y = Title_outer(opr_inner, opr_outer)      y = Title_outer(opr_inner, opr_outer)
116      write_results(y, testing_frame, cnt)      write_results(y, testing_frame, cnt)
117      writeCumulative(cnt)      writeCumulative(cnt)
118    
119  ## starts with writing heading in each txt file  ## starts with writing heading in each txt file
120  def write_heading(testing_frame):  def write_heading(testing_frame):
121      name = "\n-name: "+frame.get_name(testing_frame)      name = "\n-name: "+frame.get_name(testing_frame)

Legend:
Removed from v.4458  
changed lines
  Added in v.4481

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0