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 4261, Mon Jul 25 20:14:18 2016 UTC revision 4262, Mon Jul 25 23:20:37 2016 UTC
# Line 3  Line 3 
3  import os  import os
4    
5    
6  fld="mon_ein"  #directory to save programs  fld="stash"  #directory to save programs
7    
8  ##################################################################################################  ##################################################################################################
9  def Title_inner(opr_inner):  def Title_inner(opr_inner):
# Line 41  Line 41 
41  def writeex(e):  def writeex(e):
42      print (e)      print (e)
43      # if it works continue      # if it works continue
44      f = open("rst/results_ex_1.txt", 'a+')      f = open(fld+"/results_ex.txt", 'a+')
45      f.write(e)      f.write(e)
46      f.close()      f.close()
47    
# Line 69  Line 69 
69      os.system("cp output5_p_observ.diderot "+path+"/"+names+".diderot")      os.system("cp output5_p_observ.diderot "+path+"/"+names+".diderot")
70      os.system("cp data/inputfile_0.nrrd "+path+"/inputfile_0.nrrd")      os.system("cp data/inputfile_0.nrrd "+path+"/inputfile_0.nrrd")
71      os.system("cp data/inputfile_1.nrrd "+path+"/inputfile_1.nrrd")      os.system("cp data/inputfile_1.nrrd "+path+"/inputfile_1.nrrd")
72      os.system("cp data/inputfilecat_2.nrrd "+path+"/inputfilecat_2.nrrd")      #os.system("cp data/inputfilecat_2.nrrd "+path+"/inputfilecat_2.nrrd")
73      os.system("cp data/inputfile_2.nrrd "+path+"/inputfile_2.nrrd")      os.system("cp data/inputfile_2.nrrd "+path+"/inputfile_2.nrrd")
74      a= names      a= names
75      b= "\n\nobserved data from "+branch+" "+str(observed_data)      b= "\n\nobserved data from "+branch+" "+str(observed_data)

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

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