[Bio] / Sprout / ScenarioSaplingLoader.pm Repository:
ViewVC logotype

Diff of /Sprout/ScenarioSaplingLoader.pm

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

revision 1.8, Wed Apr 28 14:04:49 2010 UTC revision 1.9, Wed Jun 9 20:04:54 2010 UTC
# Line 128  Line 128 
128      # Now loop through the subsystems.      # Now loop through the subsystems.
129      my @subsystems = sort keys %{$erdb->SubsystemHash()};      my @subsystems = sort keys %{$erdb->SubsystemHash()};
130      for my $subName (@subsystems) {      for my $subName (@subsystems) {
131          Trace("Processing $subName.") if T(3);          Trace("Processing $subName.") if T(ERDBLoadGroup => 3);
132          my $sub = $fig->get_subsystem($subName);          my $sub = $fig->get_subsystem($subName);
133          # Only proceed if the subsystem exists.          # Only proceed if the subsystem exists.
134          if (! defined $sub) {          if (! defined $sub) {
135              $self->Add(missingSubsystem => 1);              $self->Add(missingSubsystem => 1);
136            } elsif ($sub->{empty_ss}) {
137                $self->Add(emptySubsystem => 1);
138          } else {          } else {
139              # Get the subsystem's reactions. This is a bit complicated, since              # Get the subsystem's reactions. This is a bit complicated, since
140              # the subsystem object only gives us a role-to-reaction map.              # the subsystem object only gives us a role-to-reaction map.

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3