[Bioperl-l] bug in location->to_FTstring

Hilmar Lapp hlapp@gnf.org
Wed, 4 Dec 2002 09:37:07 -0800


I thought it was part of the 1.0.x API already. It's definitely on 
the main trunk.

	-hilmar

On Wednesday, December 4, 2002, at 02:16 AM, Philip Lijnzaad wrote:

>
> On Tue, 03 Dec 2002 12:38:38 -0800,
> "Hilmar" == Hilmar Lapp <hlapp@gnf.org> wrote:
>
> Hilmar> The strand bug should be fixed on the main trunk (and hence the
> Hilmar> upcoming 1.2)
>
> Later on I actually noticed that Bio/Location/Split.pm contains this:
>
>   sub to_FTstring {
>       my ($self) = @_;
>       my @strs;
>       ....
>       my $str = sprintf("%s(%s)",lc $self->splittype, join(",", 
> @strs));
>   # for bug #1074 -- still investigating if this is ever needed
>   # --jason
>   #   if( $self->strand == -1 ) {
>   #       $str = sprintf("complement(%s)",$str);
>   #   }
>   #   return $str;
>   }
>
> I didn't quite understand the problem that was solved by Jason's
> outcommenting, but it does look weird, and I got rid of it. Things seem
> towork now. Sorry for not consulting the bugzilla first.
>
> Hilmar> As for flattening, call $splitloc->each_Location() (this 
> does NOT
> Hilmar> return the 'top' location object though).
>
> mmm ... this doesn't appear to be part of BioPerl 1.0.2. Is it on 
> CVS trunk
> or branch? Cheers,
>
>                                                                     
>   Philip
> --
> Philip Lijnzaad
> Genomics Laboratory
> Dept. of Biomedical Genetics
> University Medical Center (UMC), Utrecht
> Stratenum, STR 3.223
> room 3.126 (not in on Thursdays)
> P.O. Box 85060, 3508 AB Utrecht
> (Universiteitsweg 100, 3584 CG Utrecht)
> The Netherlands
> tel: +31 (0)30 253 8464
> fax: +31 (0)30 253 9035
>
>
--
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------