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 4457, Fri Aug 26 19:57:49 2016 UTC revision 4458, Sat Aug 27 19:52:38 2016 UTC
# Line 149  Line 149 
149    
150  def write_rst(names, x, extraname, phrase):  def write_rst(names, x, extraname, phrase):
151      x = "\n\t-"+x+"\n\t"+phrase      x = "\n\t-"+x+"\n\t"+phrase
152      m = "\n\n***"+ phrase+"__"+name +"\n\t -: " + extraname+x      m = "\n\n***"+ phrase+"__"+names +"\n\t -: " + extraname+x
153      writeall(x)      writeall(x)
154      writesummary(x)      writesummary(x)
155      write_terrible(m)      write_terrible(m)
# Line 161  Line 161 
161  # does not compile  # does not compile
162  def rst_compile(names, x, extraname,  branch):  def rst_compile(names, x, extraname,  branch):
163      dir = "c"      dir = "c"
164      write_rst(names, x, extraname, "did not compile", dir)      write_rst(names, x, extraname, "did not compile")
165      labl = dir+"__"+name      labl = dir+"__"+names
166  #writeToRst(labl, None, None, branch, x)  #writeToRst(labl, None, None, branch, x)
167    
168  # not available  # not available
169  def rst_NA(names, x, extraname, branch):  def rst_NA(names, x, extraname, branch):
170      dir = "na"      dir = "na"
171      labl = dir+"__"+name      labl = dir+"__"+names
172      write_rst(names, x, extraname, "NA", dir)      write_rst(names, x, extraname, "NA")
173  #writeToRst(labl, None, None, branch, x)  #writeToRst(labl, None, None, branch, x)
174    
175  # check results  # check results
176  def rst_check(names, x, extraname, branch, observed_data, correct_data):  def rst_check(names, x, extraname, branch, observed_data, correct_data):
177      dir = "k"      dir = "k"
178      labl = dir+"__"+name      labl = dir+"__"+names
179      write_rst(names, x, extraname, "check", dir)      write_rst(names, x, extraname, "check")
180      #writeToRst(labl, observed_data, correct_data, branch, x)      #writeToRst(labl, observed_data, correct_data, branch, x)
181  def rst_terrible(names, x, extraname,  branch, observed_data, correct_data) :  def rst_terrible(names, x, extraname,  branch, observed_data, correct_data) :
182      dir = "t"      dir = "t"
183      labl = dir+"__"+name      labl = dir+"__"+names
184      write_rst(names, x, extraname, "terrible", dir)      write_rst(names, x, extraname, "terrible")
185      #writeToRst(labl, observed_data, correct_data, branch, x      #writeToRst(labl, observed_data, correct_data, branch, x
186    

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

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