projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial port to python3
[htsworkflow.git]
/
htsworkflow
/
frontend
/
reports
/
reports.py
diff --git
a/htsworkflow/frontend/reports/reports.py
b/htsworkflow/frontend/reports/reports.py
index 18cd3285c5bb90b4fdeaea37292f02fdb9ade45a..e2ff54f817850babf06791e97ea26d0502af703d 100644
(file)
--- a/
htsworkflow/frontend/reports/reports.py
+++ b/
htsworkflow/frontend/reports/reports.py
@@
-27,7
+27,7
@@
def getBgColor(reads_cnt,exp_type):
def report1(request):
EXP = 'ChIP-seq'
def report1(request):
EXP = 'ChIP-seq'
- if
request.GET.has_key('aflid')
:
+ if
'aflid' in request.GET
:
AFL_Id = request.GET['aflid']
try:
AFL = Affiliation.objects.get(id=AFL_Id).name
AFL_Id = request.GET['aflid']
try:
AFL = Affiliation.objects.get(id=AFL_Id).name
@@
-170,10
+170,10
@@
def report1(request):
def report_RM(request): #for RNA-Seq and Methyl-Seq
EXP = 'RNA-seq'
def report_RM(request): #for RNA-Seq and Methyl-Seq
EXP = 'RNA-seq'
- if
request.GET.has_key('exp')
:
+ if
'exp' in request.GET
:
EXP = request.GET['exp'] # Methyl-seq
EXP = request.GET['exp'] # Methyl-seq
- if
request.GET.has_key('aflid')
:
+ if
'aflid' in request.GET
:
AFL_Id = request.GET['aflid']
try:
AFL = Affiliation.objects.get(id=AFL_Id).name
AFL_Id = request.GET['aflid']
try:
AFL = Affiliation.objects.get(id=AFL_Id).name