Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pipelines
Commits
1c45c415
Commit
1c45c415
authored
May 11, 2021
by
Yannick DAYER
Browse files
Only consider DelayedSample objects
parent
e4c91296
Pipeline
#50733
passed with stage
in 20 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pipelines/sample_loaders.py
View file @
1c45c415
...
...
@@ -89,7 +89,7 @@ class CSVToSampleLoader(TransformerMixin, BaseEstimator):
# samples can contain lists of samples, unpack if it's the case
unpacked_samples
=
[]
for
e
in
samples
:
if
isinstance
(
e
,
(
Sample
,
DelayedSample
)
)
:
if
isinstance
(
e
,
DelayedSample
):
unpacked_samples
.
append
(
e
)
else
:
unpacked_samples
.
extend
(
e
)
...
...
Write
Preview
Markdown
is supported
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