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

Diff of /FigWebServices/protein.cgi

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

revision 1.230, Thu Aug 24 22:58:03 2006 UTC revision 1.231, Fri Aug 25 19:44:40 2006 UTC
# Line 125  Line 125 
125                             ftype       => $featureType                             ftype       => $featureType
126          };          };
127    
128            # check if the fig_id passed is valid
129            unless ($fig->translatable($pegID)) {
130                $to->titles($parameters);
131                $to->add("<br/>" . FigWebServices::SeedComponents::Protein::get_index_link() . "<br/>") if $to->raw;
132                $to->add(FigWebServices::SeedComponents::Framework::get_js_css_links()) if $to->raw;
133                $to->add("<h2>The Protein with ID $pegID does not (no longer) exist.</h2>") if $to->raw;
134                $to->add("<br/>" . FigWebServices::SeedComponents::Protein::get_index_link() . "<br/>") if $to->raw;
135                print $to->finish();
136                exit 1;
137            }
138    
139          my ($min, $max, $features) = FigWebServices::SeedComponents::Protein::get_region_data($parameters);          my ($min, $max, $features) = FigWebServices::SeedComponents::Protein::get_region_data($parameters);
140          $parameters->{min} = $min;          $parameters->{min} = $min;
141          $parameters->{max} = $max;          $parameters->{max} = $max;

Legend:
Removed from v.1.230  
changed lines
  Added in v.1.231

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3