Commit 1c45c415 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Only consider DelayedSample objects

parent e4c91296
Pipeline #50733 passed with stage
in 20 minutes and 11 seconds
......@@ -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)
......
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