From 0227c38597f26e7b42d8baf5f17ea82e32e22847 Mon Sep 17 00:00:00 2001 From: Pingu Carsti Date: Fri, 12 Apr 2024 17:20:56 +0200 Subject: [PATCH] skip dashboard --- parrot/query.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/parrot/query.py b/parrot/query.py index 457637e..933bb43 100644 --- a/parrot/query.py +++ b/parrot/query.py @@ -17,7 +17,7 @@ def display_json(data): def query(): query_str = """ - SELECT ?process ?dataset ?variable ?startTime ?endTime ?input ?output ?info ?histogram + SELECT ?process ?dataset ?variable ?startTime ?endTime ?input ?output ?info WHERE { ?exec rdf:type provone:Execution ; rdfs:label ?process ; @@ -25,8 +25,7 @@ def query(): clint:variable_name ?variable ; prov:startedAtTime ?startTime ; prov:endedAtTime ?endTime ; - clint:info ?info ; - clint:histogram ?histogram . + clint:info ?info . ?input rdf:type prov:Entity . @@ -54,7 +53,7 @@ def query(): # mean = row.mean.value # stddev = row.stddev.value info = json.loads(row.info.value) - histogram = row.histogram.value + # histogram = row.histogram.value entry = { "Process": process, "Dataset": dataset, @@ -67,7 +66,7 @@ def query(): # "Max": max, # "Mean": mean, # "StdDev": stddev, - "Histogram": display_image(histogram), + # "Histogram": display_image(histogram), } for key in info: entry[key] = display_json(info[key])