[Bio] / FigKernelPackages / model.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/model.pm

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

revision 1.6, Mon May 21 21:46:47 2007 UTC revision 1.7, Tue May 22 18:16:57 2007 UTC
# Line 140  Line 140 
140      else      else
141      {      {
142          my $reactions_for_genome = $subsystem->get_hope_reactions_for_genome($genome);          my $reactions_for_genome = $subsystem->get_hope_reactions_for_genome($genome);
143          map { $ss_reactions{$_} = 1 } @{$reactions_for_genome} if defined $reactions_for_genome;          map { $ss_reactions{$_} = 1 } keys %{$reactions_for_genome} if defined $reactions_for_genome;
144      }      }
145    
146      map { $sc_inputs{$_} = 1 } @{$scenario_data->{inputs}};      map { $sc_inputs{$_} = 1 } @{$scenario_data->{inputs}};
# Line 2717  Line 2717 
2717      else      else
2718      {      {
2719          my $reactions_for_genome = $subsystem->get_hope_reactions_for_genome($genome);          my $reactions_for_genome = $subsystem->get_hope_reactions_for_genome($genome);
2720          map { $ss_reactions{$_} = 1 } @{$reactions_for_genome} if defined $reactions_for_genome;          map { $ss_reactions{$_} = 1 } keys %{$reactions_for_genome} if defined $reactions_for_genome;
2721      }      }
2722    
2723      # first find paths in the All directory that should be valid for the genome      # first find paths in the All directory that should be valid for the genome

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3