minor correction to sequence reading

parent b6142c82
...@@ -432,7 +432,7 @@ def createWIP(): ...@@ -432,7 +432,7 @@ def createWIP():
if stepSeq=='': if stepSeq=='':
stepSeq=0 # if the seq is ''>OrderDecomposition then 0 stepSeq=0 # if the seq is ''>OrderDecomposition then 0
# if the entityCurrentSeq is found and the id of the holding Station is in the steps stationIdsList # if the entityCurrentSeq is found and the id of the holding Station is in the steps stationIdsList
if int(stepSeq)==int(entityCurrentSeq) and element['id'] in step['stationIdsList']: if int(stepSeq)==entityCurrentSeq and element['id'] in step['stationIdsList']:
ind=i # hold the index ind=i # hold the index
solution=True # the solution isfound solution=True # the solution isfound
break break
......
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