File: Null.pm

package info (click to toggle)
psortb 3.0.6%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 121,044 kB
  • sloc: perl: 3,652; ansic: 698; cpp: 338; sh: 27; makefile: 23
file content (51 lines) | stat: -rw-r--r-- 815 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package Bio::Tools::PSort::Module::Null;

use Bio::Tools::PSort::Module::AnalysisI;
use Bio::Tools::PSort::Report::Result;

use vars qw(@ISA);
@ISA = qw(Bio::Tools::PSort::Module::AnalysisI);

use strict;

# Dummy module to do nothing.  Always returns Unknown

sub new {
    my($class, @args) = @_;
    my $self = $class->SUPER::new(@args);

    return $self;
}

sub run {
    my ($self, $seq) = @_;

    return new Bio::Tools::PSort::Report::Result(-loc => 'Unknown',
					  -details => ['Module skipped']);

}

1;

=head1 NAME

Null module

=head1 SYNOPSIS

This module is a place holder that will always return Unknown.

=head1 DESCRIPTION

=head1 CONSTRUCTOR

=head1 METHODS

=head1 SEE ALSO

=head1 AUTHOR
 
Fiona Brinkman, Matthew Laird <psort-mail@sfu.ca>
Brinkman Lab, Simon Fraser University, Canada

=cut