projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename HttpResponse parameter mimetype to content_type
[htsworkflow.git]
/
htsworkflow
/
frontend
/
experiments
/
experiments.py
diff --git
a/htsworkflow/frontend/experiments/experiments.py
b/htsworkflow/frontend/experiments/experiments.py
index fef68ed130526e33400302db57de772d82b81ade..e9bb3151a23330b72f80c7773ab052795abec178 100644
(file)
--- a/
htsworkflow/frontend/experiments/experiments.py
+++ b/
htsworkflow/frontend/experiments/experiments.py
@@
-93,7
+93,7
@@
def flowcell_json(request, fc_id):
raise Http404
fc_json = json.dumps(fc_dict)
raise Http404
fc_json = json.dumps(fc_dict)
- return HttpResponse(fc_json,
mime
type = 'application/json')
+ return HttpResponse(fc_json,
content_
type = 'application/json')
def lanes_for(username=None):
"""
def lanes_for(username=None):
"""
@@
-135,7
+135,7
@@
def lanes_for_json(request, username):
#convert query set to python structure
result_json = json.dumps(result)
#convert query set to python structure
result_json = json.dumps(result)
- return HttpResponse(result_json,
mime
type='application/json')
+ return HttpResponse(result_json,
content_
type='application/json')
def updStatus(request):
def updStatus(request):
@@
-260,7
+260,7
@@
def getConfile(req):
except ObjectDoesNotExist:
cnfgfile = 'Entry not found for RunFolder = '+runfolder
except ObjectDoesNotExist:
cnfgfile = 'Entry not found for RunFolder = '+runfolder
- return HttpResponse(cnfgfile,
mime
type='text/plain')
+ return HttpResponse(cnfgfile,
content_
type='text/plain')
def getLaneLibs(req):
granted = False
def getLaneLibs(req):
granted = False
@@
-301,7
+301,7
@@
def getLaneLibs(req):
outputfile = 'Flowcell entry not found for: '+fcid
else: outputfile = 'Missing input: flowcell id'
outputfile = 'Flowcell entry not found for: '+fcid
else: outputfile = 'Missing input: flowcell id'
- return HttpResponse(outputfile,
mime
type='text/plain')
+ return HttpResponse(outputfile,
content_
type='text/plain')
def estimateFlowcellDuration(flowcell):
"""
def estimateFlowcellDuration(flowcell):
"""