Commit 08520ef5 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] CLU: Fix bug: incorrect shifting of variant constraints due to reference error...

parent 2343f2e0
...@@ -1470,7 +1470,7 @@ class CLUnfolder(object): ...@@ -1470,7 +1470,7 @@ class CLUnfolder(object):
if self.__shift_direction == "FORWARD": if self.__shift_direction == "FORWARD":
# For now, keep only the events of the first step (t0) # For now, keep only the events of the first step (t0)
# Other steps are taken during shift() calls # Other steps are taken during shift() calls
self.__variant_constraints = self.__precomputed_variant_constraints[0] self.__variant_constraints = list(self.__precomputed_variant_constraints[0])
elif self.__shift_direction == "BACKWARD": elif self.__shift_direction == "BACKWARD":
raise MCLException("Shift direction 'BACKWARD' is not yet implemented") raise MCLException("Shift direction 'BACKWARD' is not yet implemented")
else: else:
......
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