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

Diff of /FigWebServices/link.cgi

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

revision 1.2, Wed Oct 25 21:03:07 2006 UTC revision 1.3, Wed Oct 25 21:06:09 2006 UTC
# Line 47  Line 47 
47                  # No NMPDR, so we ask for a protein page.                  # No NMPDR, so we ask for a protein page.
48                  $url = "protein.cgi?prot=$escapedID";                  $url = "protein.cgi?prot=$escapedID";
49              }              }
         } elsif ($pegID =~ /^sv\|(.+)$/) {  
             # Escape the PEG found.  
             my $escapedID = uri_escape($1);  
             # If we have a SEED Viewer defined, use it.  
             if ($FIG_Config::seed_viewer_url) {  
                 $url = "$FIG_Config::seed_viewer_url/protein.cgi?prot=$escapedID";  
             } else {  
                 # No SEED viewer, so we ask for a protein page.  
                 $url = "protein.cgi?prot=$escapedID";  
             }  
50          } else {          } else {
51              # Go to a protein page, but try to decide whether we should be SEED or Sprout.              # Go to a protein page, but try to decide whether we should be SEED or Sprout.
52              my $mode = $cgi->param('SPROUT');              my $mode = $cgi->param('SPROUT');

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3