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

rm alias_experiments from report data, not used anymore

parent 58d2ff58
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -204,13 +204,6 @@ class ReportDetailView(generics.RetrieveUpdateDestroyAPIView):
if self.kwargs.has_key('number') and report.status == Report.LOCKED:
data["anonymous"] = True
data["experiments"] = map(lambda x:data["content"]["alias_experiments"][x], data["experiments"])
data_alias_experiments = {}
for experiment in data["experiments"]:
data_alias_experiments[experiment] = experiment
data["content"]["alias_experiments"] = data_alias_experiments
return Response(data)
......
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