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 4262, Mon Jul 25 23:20:37 2016 UTC revision 4290, Wed Jul 27 19:11:47 2016 UTC
# Line 61  Line 61 
61    
62    
63  # copy programs and corresponding file to new directory  # copy programs and corresponding file to new directory
64  def writeToRst(names, observed_data, correct_data, branch):  def writeToRst(names, observed_data, correct_data, branch, rst):
65    
66      path = fld+"/"+names      path = fld+"/"+names
67      os.system("mkdir "+path)      os.system("mkdir "+path)
# Line 77  Line 77 
77      c= "\n\ncorrect data from python"+str(correct_data)      c= "\n\ncorrect data from python"+str(correct_data)
78    
79      f = open(path+"/rst.txt", 'w+')      f = open(path+"/rst.txt", 'w+')
80      f.write(a+b+c+"\n\n")      f.write(a+b+c+rst+"\n\n")
81      f.close()      f.close()
82    

Legend:
Removed from v.4262  
changed lines
  Added in v.4290

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