Commit 4b6b6d6f authored by Ben Couturier's avatar Ben Couturier
Browse files

Fixed exception

parent 0bc34939
Pipeline #3288184 passed with stage
in 2 minutes and 57 seconds
......@@ -295,11 +295,11 @@ class AnalysisData:
if tag in self.available_tags:
values = sorted(self.available_tags[tag])
except TypeError:
except TypeError as exc:
raise ValueError(
f"Could not sort the values for tag ({tag}). Please check that the values are sensible.\n"
values = list(self.available_tags[tag])
) from exc
values = list(self.available_tags[tag])
summary[tag] = values
raise ValueError(
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