#check capacity required for each task - if it's 0 then delete this task from WIP
ifdata['WIP'][task]['Capacity required']==0:
deldata['WIP'][task]
#if it's SMF and capacity finished then delete the fake dictionary created to hold the WIP just before WELD
# if ind5.Operation_Name == 'SMF':
# try:
# del data['WIP']['WELD_id' + orderID]
# except KeyError:
# continue
ifind5.Operation_Namenotinappended:
appended.append(ind5.Operation_Name)
#try syntax to check if the operation finished is one of the following three; if yes delete the fake dictionary created to hold the WIP just before PPASB assembly station