line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finnigan::InjectionData; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
18
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
94
|
|
4
|
2
|
|
|
2
|
|
9
|
use warnings FATAL => qw( all ); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
130
|
|
5
|
|
|
|
|
|
|
our $VERSION = 0.0206; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
10
|
use Finnigan; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
53
|
|
8
|
2
|
|
|
2
|
|
10
|
use base 'Finnigan::Decoder'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
1393
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub decode { |
11
|
1
|
|
|
1
|
1
|
2
|
my ($class, $stream) = @_; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
13
|
my $fields = [ |
14
|
|
|
|
|
|
|
"unknown_long[1]" => ['V', 'UInt32'], |
15
|
|
|
|
|
|
|
"n" => ['V', 'UInt32'], |
16
|
|
|
|
|
|
|
"unknown_long[2]" => ['V', 'UInt32'], |
17
|
|
|
|
|
|
|
vial => ['U0C12', 'UTF16LE'], |
18
|
|
|
|
|
|
|
"inj volume" => ['d<', 'Float64'], |
19
|
|
|
|
|
|
|
"weight" => ['d<', 'Float64'], |
20
|
|
|
|
|
|
|
"volume" => ['d<', 'Float64'], |
21
|
|
|
|
|
|
|
"istd amount" => ['d<', 'Float64'], |
22
|
|
|
|
|
|
|
"dilution factor" => ['d<', 'Float64'], |
23
|
|
|
|
|
|
|
]; |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
5
|
my $self = Finnigan::Decoder->read($stream, $fields); |
26
|
|
|
|
|
|
|
|
27
|
1
|
|
|
|
|
6
|
return bless $self, $class; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub n { |
31
|
1
|
|
|
1
|
1
|
9
|
shift->{data}->{n}->{value}; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |