line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: Restriction.pm,v 1.2 2004/11/24 02:28:02 cmungall Exp $ |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# This GO module is maintained by Chris Mungall |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# see also - http://www.geneontology.org |
6
|
|
|
|
|
|
|
# - http://www.godatabase.org/dev |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# You may distribute this module under the same terms as perl itself |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
package GO::Model::Restriction; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
GO::Model::Restriction; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 DESCRIPTION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=cut |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
14
|
|
|
14
|
|
78
|
use Carp qw(cluck confess); |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
862
|
|
25
|
14
|
|
|
14
|
|
75
|
use Exporter; |
|
14
|
|
|
|
|
34
|
|
|
14
|
|
|
|
|
505
|
|
26
|
14
|
|
|
14
|
|
95
|
use GO::Utils qw(rearrange); |
|
14
|
|
|
|
|
29
|
|
|
14
|
|
|
|
|
544
|
|
27
|
14
|
|
|
14
|
|
81
|
use GO::Model::Root; |
|
14
|
|
|
|
|
30
|
|
|
14
|
|
|
|
|
274
|
|
28
|
14
|
|
|
14
|
|
76
|
use strict; |
|
14
|
|
|
|
|
26
|
|
|
14
|
|
|
|
|
484
|
|
29
|
14
|
|
|
14
|
|
66
|
use vars qw(@ISA); |
|
14
|
|
|
|
|
24
|
|
|
14
|
|
|
|
|
1111
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
@ISA = qw(GO::Model::Root Exporter); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub _valid_params { |
35
|
0
|
|
|
0
|
|
|
return qw(property_name value); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |