[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.6, Wed Jul 15 23:39:58 2009 UTC revision 1.7, Mon Feb 1 20:14:28 2010 UTC
# Line 132  Line 132 
132      for my $subName (@subsystems) {      for my $subName (@subsystems) {
133          Trace("Processing $subName.") if T(3);          Trace("Processing $subName.") if T(3);
134          my $sub = $fig->get_subsystem($subName);          my $sub = $fig->get_subsystem($subName);
135            # Only proceed if the subsystem exists.
136            if (! defined $sub) {
137                $self->Add(missingSubsystem => 1);
138            } 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.
141          my %roleMap = $sub->get_hope_reactions();          my %roleMap = $sub->get_hope_reactions();
# Line 214  Line 218 
218          $fig->clear_subsystem_cache();          $fig->clear_subsystem_cache();
219      }      }
220  }  }
221    }
222    
223    
224  =head3 LoadDiagrams  =head3 LoadDiagrams
# Line 305  Line 310 
310      my $figmodel = $self->{figModel};      my $figmodel = $self->{figModel};
311      # Check the file.      # Check the file.
312      if (! -s $fileName) {      if (! -s $fileName) {
313          Trace("File \"$fileName\" not found for map $mapID.") if T(1);          Trace("File \"$fileName\" not found for map $mapID.") if T(ERDBLoadGroup => 1);
314          $self->Add('file-missing' => 1);          $self->Add('file-missing' => 1);
315      } else {      } else {
316          # Open the file.          # Open the file.

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3