Skip to content

Commit

Permalink
skip dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Apr 12, 2024
1 parent 241eb21 commit 0227c38
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions parrot/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ 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 ;
clint:dataset_name ?dataset ;
clint:variable_name ?variable ;
prov:startedAtTime ?startTime ;
prov:endedAtTime ?endTime ;
clint:info ?info ;
clint:histogram ?histogram .
clint:info ?info .
?input rdf:type prov:Entity .
Expand Down Expand Up @@ -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,
Expand All @@ -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])
Expand Down

0 comments on commit 0227c38

Please sign in to comment.