~ubuntu-branches/ubuntu/saucy/bioperl/saucy-proposed

« back to all changes in this revision

Viewing changes to Bio/Location/SplitLocationI.pm

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2009-03-10 07:19:11 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090310071911-fukqzw54pyb1f0bd
Tags: 1.6.0-2
* Removed patch system (not used):
  - removed instuctions in debian/rules;
  - removed quilt from Build-Depends in debian/control.
* Re-enabled tests:
  - uncommented test command in debian/rules;
  - uncommented previously missing build-dependencies in debian/control.
  - Re-enabled tests and uncommented build-dependencies accordingly.
* Removed libmodule-build-perl and libtest-harness-perl from
  Build-Depends-Indep (provided by perl-modules).
* Better cleaning of empty directories using find -type d -empty -delete
  instead of rmdir in debian/rules (LP: #324001).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: SplitLocationI.pm,v 1.18.4.1 2006/10/02 23:10:21 sendu Exp $
 
1
# $Id: SplitLocationI.pm 14682 2008-05-27 17:52:48Z cjfields $
2
2
#
3
3
# BioPerl module for Bio::Location::SplitLocationI
4
4
# Cared for by Jason Stajich <jason@bioperl.org>
21
21
 
22
22
    my $count = 1;
23
23
    # print the start/end points of the sub locations
24
 
    foreach my $location ( sort { $a->start <=> $b->start } 
25
 
                           @sublocs ) {
26
 
        printf "sub feature %d [%d..%d]\n", $location->start,$location->end;
 
24
    foreach my $location ( sort { $a->start <=> $b->start }  @sublocs ) {
 
25
                printf "sub feature %d [%d..%d]\n", $location->start,$location->end;
27
26
        $count++;
28
27
    }
29
28