Update of /cvsroot/gmod/schema/chado/cas-utils/cgi-bin
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv28599/cgi-bin
Modified Files:
apollo_request_region.pl
Log Message:
example GBrowse config section and fixing for start < 1 for apollo
Index: apollo_request_region.pl
===================================================================
RCS file: /cvsroot/gmod/schema/chado/cas-utils/cgi-bin/apollo_request_region.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** apollo_request_region.pl 21 Jul 2008 04:41:21 -0000 1.1
--- apollo_request_region.pl 21 Jul 2008 21:33:39 -0000 1.2
***************
*** 54,57 ****
--- 54,60 ----
if ($t_start and $t_start =~ /^(\d+)$/) {
$start = $1;
+ if ($start < 1) {
+ $start = 1;
+ }
}
if ($t_end and $t_end =~ /^(\d+)$/) {
***************
*** 62,65 ****
--- 65,71 ----
$start = $2;
$end = $3;
+ if ($start < 1) {
+ $start = 1;
+ }
}
if ($t_xmltype and ($t_xmltype =~ /^chado$/ or $t_xmltype =~ /^game$/)) {
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Gmod-schema-cmts mailing list
Gmod-schema-cmts@...
https://lists.sourceforge.net/lists/listinfo/gmod-schema-cmts