Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
d8345b4f
Commit
d8345b4f
authored
7 years ago
by
Louise McCann
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Refs 19483 remove trailing comma
parent
442c02fb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/Inelastic/vesuvio/commands.py
+1
-1
1 addition, 1 deletion
scripts/Inelastic/vesuvio/commands.py
with
1 addition
and
1 deletion
scripts/Inelastic/vesuvio/commands.py
+
1
−
1
View file @
d8345b4f
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment