Skip to content
Snippets Groups Projects
Commit 812a06a9 authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

undo plot change

parent 48e33ecf
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -206,11 +206,9 @@ def plot(request):
# Collect the data for the plot, check compatibility
default = None
for k, v in experiments.items():
xp = v['obj']
xp_analyzer = list(xp.analyzers())[0]
(analyzer_author, analyzer_name, analyzer_version) = xp_analyzer.split('/')
if v['analyzer'].find('/') >= 0:
(analyzer_author, analyzer_name, analyzer_version) = v['analyzer'].split('/')
xp = v['obj']
block = get_object_or_404(Block,
experiment=v['obj'],
algorithm__author__username=analyzer_author,
......@@ -219,8 +217,8 @@ def plot(request):
)
else:
block = get_object_or_404(Block,
experiment=xp,
name=analyzer_name,
experiment=v['obj'],
name=v['analyzer'],
)
result = get_object_or_404(Result,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment