Changeset 3291

Show
Ignore:
Timestamp:
05/02/08 20:09:59 (4 months ago)
Author:
pwaddell
Message:

updated to allow copying model templates and components

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/urbansim/configs/urbansim.xml

    r3286 r3291  
    33    <description type="string">Base UrbanSim project</description> 
    44  </general> 
    5    
     5 
    66  <model_manager> 
    77   <model_system type="dictionary"> 
    8        <choice_model_template  type="dictionary"> 
     8       <choice_model_template  type="dictionary" copyable='True'> 
    99         <import type="dictionary"> 
    1010          <opus_core.choice_model type="string">ChoiceModel</opus_core.choice_model> 
     
    6868        </prepare_for_estimate> 
    6969       </choice_model_template> 
    70        <regression_model_template  type="dictionary"> 
     70       <regression_model_template  type="dictionary" copyable='True'> 
    7171         <import type="dictionary"> 
    7272          <opus_core.regression_model type="string">RegressionModel</opus_core.regression_model> 
     
    126126        </prepare_for_estimate> 
    127127       </regression_model_template> 
    128       <allocation_model_template  type="dictionary"> 
     128      <allocation_model_template  type="dictionary" copyable='True'> 
    129129         <import type="dictionary"> 
    130130          <opus_core.allocation_model type="string">AllocationModel</opus_core.allocation_model> 
     
    146146   </model_system> 
    147147   <estimation type="dictionary"> 
    148    <model_template  type="dictionary"> 
     148   <model_template  type="dictionary" copyable='True'> 
    149149   <all_variables type="dictionary"> 
    150      <var1 type="variable_definition">var1 = package.dataset.some_variable_or_expression</var1> 
     150     <var1 type="variable_definition" copyable='True'>var1 = package.dataset.some_variable_or_expression</var1> 
    151151   </all_variables> 
    152    <submodel type="submodel"> 
     152   <submodel type="submodel" copyable='True'> 
    153153      <description type="string">No submodel</description> 
    154154      <submodel_id type="integer">-2</submodel_id> 
    155155      <variables type="selectable_list"> 
    156          <var1 choices="Use|Skip" type="variable">Skip</var1> 
     156         <var1 choices="Use|Skip" type="variable" copyable='True'>Skip</var1> 
    157157      </variables> 
    158158   </submodel>