L2ASCL v2

parent 440c8c06
......@@ -28,8 +28,6 @@ USERS_PATH = config['PATHS']['PATH_USERS']
###########################################################
def report_L2ASCL(request, report, purchase_id):
scl_data_path = USERS_PATH + request.user.email + "/" + purchase_id + "/" + report + ".json"
......@@ -99,8 +97,7 @@ def report_L2ASCL(request, report, purchase_id):
"labels": graphData['data']['labels']})
# -------------------------------------------------------------------------------
# -------------------------------------------------------------------------------def Reports(request):
def Reports(request):
progress = 0
......@@ -396,8 +393,7 @@ def PDFGenerator(request, ruta, reporteDir, datasets):
c.showPage()
c.save()
pass
#---------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
def ProcessChartData(path):
with open(path) as f:
json_data = OrderedDict(json.load(f))
......@@ -444,4 +440,4 @@ def ProcessChartData(path):
label = graphData['data']['labels'][0]
defaultLabel = graphData['data']['labels'][0]
defaultDataset = label[0:4] + "/" + label[4:6] + "/" + label[6:]
return graphData,label,defaultLabel,defaultDataset
return graphData,label,defaultLabel,defaultDataset
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment