Commit 7e91f9e5 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] Disable 'steps' file => useless

parent f1f7671f
...@@ -271,7 +271,7 @@ def find_macs(mcla, ...@@ -271,7 +271,7 @@ def find_macs(mcla,
vmac_list = mcla.mac_search(query, steps) vmac_list = mcla.mac_search(query, steps)
# If yes, in how many steps ? # If yes, in how many steps ?
min_step = mcla.unfolder.get_current_step() # min_step = mcla.unfolder.get_current_step()
for next_mac_object in vmac_list: for next_mac_object in vmac_list:
LOGGER.debug("%s:: Next MAC object:\n%s", final_prop, next_mac_object) LOGGER.debug("%s:: Next MAC object:\n%s", final_prop, next_mac_object)
...@@ -288,10 +288,10 @@ def find_macs(mcla, ...@@ -288,10 +288,10 @@ def find_macs(mcla,
file.write('\t'.join(next_mac) + '\n') file.write('\t'.join(next_mac) + '\n')
# Save min steps # Save min steps
min_step = mcla.unfolder.get_current_step() - 1 # Magic number ! # min_step = mcla.unfolder.get_current_step() - 1 # Magic number !
LOGGER.debug("%s:: Save minimal steps: %s", final_prop, min_step) # LOGGER.debug("%s:: Save minimal steps: %s", final_prop, min_step)
with open(mac_step_file, 'a') as file: # with open(mac_step_file, 'a') as file:
file.write(str(min_step)+'\n') # file.write(str(min_step)+'\n')
def find_mac(mcla, def find_mac(mcla,
......
Supports Markdown
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