Commit 6352bf42 authored by Yannick DAYER's avatar Yannick DAYER

Prevent delayed_attribute assignation to SampleSet

parent 61126f5e
Pipeline #50760 passed with stage
in 7 minutes and 10 seconds
......@@ -31,6 +31,12 @@ def _copy_attributes(sample, parent, kwargs):
):
setattr(sample, key, None)
continue
if (
isinstance(sample, SampleSet)
and getattr(parent, "_delayed_attributes", None) is not None
and key in getattr(parent, "_delayed_attributes")
):
continue
setattr(sample, key, getattr(parent, key))
for key, value in kwargs.items():
......
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