Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
8191cc98
Commit
8191cc98
authored
Nov 13, 2020
by
Ryan Herbert
Committed by
Mikaël Salson
Nov 20, 2020
Browse files
SampleSet.py group string: split on comma
parent
17dc411d
Pipeline
#188717
passed with stages
in 16 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/SampleSet.py
View file @
8191cc98
...
...
@@ -69,7 +69,7 @@ class SampleSet(object):
def
get_groups_string
(
self
,
data
):
key
=
get_group_names_select
()
group_list
=
[]
if
data
.
_extra
[
key
]
is
None
else
data
.
_extra
[
key
].
split
()
group_list
=
[]
if
data
.
_extra
[
key
]
is
None
else
data
.
_extra
[
key
].
split
(
','
)
return
', '
.
join
([
group
for
group
in
group_list
if
group
!=
'admin'
])
def
get_creator
(
self
,
data
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment