Changeset 2832


Ignore:
Timestamp:
Jul 21, 2010 3:07:47 PM (9 years ago)
Author:
jwatson
Message:

Adding some enhanced verbosity to the ef writer to aid debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/ef.py

    r2706 r2832  
    519519   master_scenario_model = None
    520520   master_scenario_instance = None
     521
     522   if verbose_output:
     523      print "Constructing reference model and instance"
    521524   
    522525   try:
     
    556559   from coopr.pysp.util.scenariomodels import scenario_tree_model
    557560
     561   if verbose_output:
     562      print "Constructing scenario tree instance"
     563
    558564   scenario_tree_instance = scenario_tree_model.create(instance_directory+os.sep+"ScenarioStructure.dat")
    559565
     
    561567   # construct the scenario tree
    562568   #
     569   if verbose_output:
     570      print "Constructing scenario tree object"
     571   
    563572   scenario_tree = ScenarioTree(scenarioinstance=master_scenario_instance,
    564573                                scenariotreeinstance=scenario_tree_instance)
Note: See TracChangeset for help on using the changeset viewer.