Skip to content
Snippets Groups Projects
Commit c1cf8e8b authored by Levecque Etienne's avatar Levecque Etienne
Browse files

fix: to_csv bug

parent 2c5967c2
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,7 @@ def to_csv(path_to_csv, image):
for pos, block in image.block_collection.items():
is_clipped = block.is_clipped[pipeline]
iteration_gurobi = 0 # FIXME
if is_clipped:
status = 3
sol = None
......@@ -133,7 +134,6 @@ def to_csv(path_to_csv, image):
status = block.status[pipeline]
antecedent = block.antecedents[pipeline]
iteration_heuristic = block.iterations[pipeline]
iteration_gurobi = 0
if antecedent is not None:
sol = str(list(np.ravel(antecedent).astype(int)))
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment