Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
3782726d
Commit
3782726d
authored
Oct 10, 2014
by
Marc Duez
Browse files
pdf.js : debug total reads
parent
bbf50a9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/pdf.js
View file @
3782726d
...
...
@@ -259,7 +259,7 @@ PDF.prototype = {
this
.
doc
.
setFont
(
'
helvetica
'
,
'
normal
'
);
this
.
checkPage
(
20
)
if
(
this
.
m
.
reads
_
total
)
this
.
checkPage
(
30
)
if
(
this
.
m
.
reads
.
total
)
this
.
checkPage
(
30
)
//time point
var
time
=
[]
...
...
@@ -270,19 +270,19 @@ PDF.prototype = {
this
.
next_row
()
//info global
if
(
this
.
m
.
reads
_
total
)
{
this
.
row
(
'
total reads
'
,
this
.
m
.
reads
_
total
,
'
raw
'
)
if
(
this
.
m
.
reads
.
total
)
{
this
.
row
(
'
total reads
'
,
this
.
m
.
reads
.
total
,
'
raw
'
)
this
.
next_row
()
}
this
.
row
(
'
total segmented
'
,
this
.
m
.
reads
.
segmented
,
'
raw
'
);
if
(
this
.
m
.
reads
_
total
)
{
if
(
this
.
m
.
reads
.
total
)
{
this
.
next_sub_row
()
var
data
=
[]
for
(
var
i
=
0
;
i
<
this
.
m
.
samples
.
number
;
i
++
)
{
data
[
i
]
=
this
.
m
.
reads
.
segmented
[
i
]
/
this
.
m
.
reads
_
total
[
i
]
data
[
i
]
=
this
.
m
.
reads
.
segmented
[
i
]
/
this
.
m
.
reads
.
total
[
i
]
}
this
.
row
(
''
,
data
,
'
%
'
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment