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

Diff of /FigKernelPackages/FIGMODELmodel.pm

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

revision 1.6, Wed Mar 17 18:56:20 2010 UTC revision 1.7, Sat Mar 20 19:01:29 2010 UTC
# Line 1  Line 1 
 package FIGMODELmodel;  
1  use strict;  use strict;
2    package FIGMODELmodel;
3    
4  =head1 FIGMODELmodel object  =head1 FIGMODELmodel object
5  =head2 Introduction  =head2 Introduction
# Line 714  Line 714 
714                                  $self->{_modification_time} = $stats->{"Gap fill date"}->[0];                                  $self->{_modification_time} = $stats->{"Gap fill date"}->[0];
715                          }                          }
716                  } else {                  } else {
717                          $self->{_modification_time} = 0;                          $self->{_modification_time} = $self->{_data}->{date}->[0];
718                  }                  }
719          }          }
720          return $self->{_modification_time};          return $self->{_modification_time};
# Line 1210  Line 1210 
1210          }          }
1211          #Updating model stats with gap filling results          #Updating model stats with gap filling results
1212          my $ElapsedTime = time() - $StartTime;          my $ElapsedTime = time() - $StartTime;
1213          $self->figmodel()->ClearDBModel($self->id(),1);          $self->figmodel()->database()->ClearDBModel($self->id(),1);
1214          #Determining why each gap filling reaction was added          #Determining why each gap filling reaction was added
1215          $self->figmodel()->IdentifyDependancyOfGapFillingReactions($self->id(),$Media);          $self->figmodel()->IdentifyDependancyOfGapFillingReactions($self->id(),$Media);
1216          if (!defined($donotclear) || $donotclear != 1) {          if (!defined($donotclear) || $donotclear != 1) {
# Line 1791  Line 1791 
1791          $self->figmodel()->database()->save_table($NewModelTable);          $self->figmodel()->database()->save_table($NewModelTable);
1792          $self->{_reaction_data} = $NewModelTable;          $self->{_reaction_data} = $NewModelTable;
1793          #Clearing the previous model from the cache          #Clearing the previous model from the cache
1794          $self->figmodel()->ClearDBModel($self->id(),1);          $self->figmodel()->database()->ClearDBModel($self->id(),1);
1795          #Updating the model stats table          #Updating the model stats table
1796          $self->update_stats_for_build();          $self->update_stats_for_build();
1797          $self->PrintSBMLFile();          $self->PrintSBMLFile();
# Line 1912  Line 1912 
1912          }          }
1913    
1914          #Clearing the previous model from the cache          #Clearing the previous model from the cache
1915          $self->figmodel()->ClearDBModel($self->id(),1);          $self->figmodel()->database()->ClearDBModel($self->id(),1);
1916          $ModelTable->save();          $ModelTable->save();
1917    
1918          return $self->success();          return $self->success();

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3