Changeset 447

Show
Ignore:
Timestamp:
02/12/12 19:24:39 (3 months ago)
Author:
kevin
Message:

Remove mistakenly committed debugging print.

Also, Markus is helping to test Temoa on Windows, and is starting the process
of pointing where the code could be more portable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/energysystem-process-Coopr3/temoa_model/temoa_graphviz.py

    r434 r447  
    44import os 
    55 
     6from shutil import rmtree 
    67from subprocess import call 
    78from sys import stderr as SE 
     
    11031104                                          for d in M.time_of_day 
    11041105                                        ) 
    1105                                         print p, t, v, i, o, flowin, flowout 
    11061106                                        used_carriers.update( g_processInputs[p, t, v] ) 
    11071107                                        used_carriers.update( g_processOutputs[p, t, v] ) 
     
    14081408        images_dir = "images_" + datname 
    14091409 
    1410         if os.path.exists( '%s' % images_dir ): 
    1411                 cmd = ('rm', '-rf', images_dir) 
    1412                 call( cmd ) 
     1410        if os.path.exists( images_dir ): 
     1411                rmtree( images_dir ) 
    14131412 
    14141413        os.mkdir( images_dir )