[Bio] / FigWebServices / genome_statistics.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/genome_statistics.cgi

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

revision 1.30, Mon Oct 10 19:28:45 2005 UTC revision 1.31, Tue Oct 18 23:33:30 2005 UTC
# Line 54  Line 54 
54    
55      if ($cgi->param("show_reactions"))      if ($cgi->param("show_reactions"))
56      {      {
57          warn "have show readtions\n";  #       warn "have show readtions\n";
58          $request = "show_reactions";          $request = "show_reactions";
59      }      }
60      elsif ($cgi->param("show_subsystems"))      elsif ($cgi->param("show_subsystems"))
61      {      {
62          warn "have show subsystems\n";  #       warn "have show subsystems\n";
63          $request = "show_subsystems";          $request = "show_subsystems";
64      }      }
65  }  }
# Line 197  Line 197 
197      my ($fracHS, $fracNHS, $fracHNS, $fracNHNS);      my ($fracHS, $fracNHS, $fracHNS, $fracNHNS);
198    
199      if ($tot == 0) {      if ($tot == 0) {
200          my $fracHS = sprintf "%4.2f", 0.0;          $fracHS = sprintf "%4.2f", 0.0;
201          my $fracNHS = sprintf "%4.2f", 0.0;          $fracNHS = sprintf "%4.2f", 0.0;
202          my $fracHNS = sprintf "%4.2f", 0.0;          $fracHNS = sprintf "%4.2f", 0.0;
203          my $fracNHNS = sprintf "%4.2f", 0.0;          my $fracNHNS = sprintf "%4.2f", 0.0;
204      } else {      } else {
205          my $fracHS = sprintf "%4.2f", $hypo_sub / $tot;          $fracHS = sprintf "%4.2f", $hypo_sub / $tot;
206          my $fracNHS = sprintf "%4.2f", $nothypo_sub / $tot;          $fracNHS = sprintf "%4.2f", $nothypo_sub / $tot;
207          my $fracHNS = sprintf "%4.2f", $hypo_nosub / $tot;          $fracHNS = sprintf "%4.2f", $hypo_nosub / $tot;
208          my $fracNHNS = sprintf "%4.2f", $nothypo_nosub / $tot;          $fracNHNS = sprintf "%4.2f", $nothypo_nosub / $tot;
209      }      }
210    
211      my $user = $cgi->param('user');      my $user = $cgi->param('user');

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3