[Bio] / FigKernelScripts / check_model.pl Repository:
ViewVC logotype

Diff of /FigKernelScripts/check_model.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Fri Jul 20 15:01:42 2007 UTC revision 1.3, Mon Jul 23 20:31:01 2007 UTC
# Line 25  Line 25 
25  {  {
26      $fig = new FIGV;      $fig = new FIGV;
27  }  }
28  Scenario::set_fig($fig);  Scenario::set_fig($fig,$genome_id);
29  print STDERR "Running check_model on genome $genome_id\n" if($debug);  print STDERR "Running check_model on genome $genome_id\n" if($debug);
30  print STDERR "\tStage 1 - Loading Scenarios, model inputs and biomass\n" if($debug);  print STDERR "\tStage 1 - Loading Scenarios, model inputs and biomass\n" if($debug);
31  my @scenarios = @{Scenario->get_genome_scenarios($genome_id,0)};  my @scenarios = @{Scenario->get_genome_scenarios($genome_id,0)};
# Line 226  Line 226 
226  }  }
227  close(RESULTS_INPUT);  close(RESULTS_INPUT);
228    
 #Lets do another information test. For the valid scenarios, what aren't being used for biomass or by another scenario?  
 # Basically this is the idea that we have a valid scenario which is a dead-end because there are no other valid scenarios that use its products  
 #my %valid_compounds;  
   
 #foreach my $scenario (@scenarios)  
 #{  
 #    if($scenarios_used{$scenario->get_scenario_name()})  
 #    {  
 #       map {$valid_compounds{$_} = 1} @{$scenario->get_substrates()};  
 #       map {$valid_compounds{$_} = 1} @{$scenario->get_products()};  
 #    }  
 #}  
   
229  print STDERR "\tStage 2 - Complete! Results in info_inputs.txt, info_biomass.txt and info_scenarios.txt\n" if($debug);  print STDERR "\tStage 2 - Complete! Results in info_inputs.txt, info_biomass.txt and info_scenarios.txt\n" if($debug);
230    
231  sub generate_new_inputs  sub generate_new_inputs

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3