Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
f10783ee
Commit
f10783ee
authored
Apr 14, 2015
by
Mathieu Giraud
Committed by
Vidjil Team
Apr 14, 2015
Browse files
controllers/patient.py: patient/stats, hack to output 'IGH_av_clones'
parent
8c26aa48
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/patient.py
View file @
f10783ee
...
...
@@ -224,6 +224,16 @@ def stats():
else
:
row
[
key
]
=
''
# Re-process some data
keys
+=
[
'IGH_av_clones'
]
for
row
in
d
[
'query'
]:
if
'IGH_av_reads'
in
row
:
try
:
row
[
'IGH_av_clones'
]
=
'%.4f'
%
(
1.0
/
float
(
row
[
'IGH_av_reads'
]))
found
[
'IGH_av_clones'
]
=
True
except
:
pass
# Keep only non-empty columns
d
[
'stats'
]
=
[]
for
key
in
keys
:
...
...
Write
Preview
Supports
Markdown
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