Skip to content
Snippets Groups Projects
Commit d8345b4f authored by Louise McCann's avatar Louise McCann Committed by GitHub
Browse files

Refs 19483 remove trailing comma

parent 442c02fb
No related branches found
No related tags found
No related merge requests found
...@@ -461,7 +461,7 @@ def _create_intensity_constraint_str(intensity_constraints): ...@@ -461,7 +461,7 @@ def _create_intensity_constraint_str(intensity_constraints):
""" """
if intensity_constraints: if intensity_constraints:
if not isinstance(intensity_constraints[0], list): if not isinstance(intensity_constraints[0], list):
intensity_constraints = [intensity_constraints, ] intensity_constraints = [intensity_constraints]
# Make each element a string and then join them together # Make each element a string and then join them together
intensity_constraints = [str(c) for c in intensity_constraints] intensity_constraints = [str(c) for c in intensity_constraints]
intensity_constraints_str = ";".join(intensity_constraints) intensity_constraints_str = ";".join(intensity_constraints)
......
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