Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tempos de maquina mal feitos no reset #32

Open
ruimscarvalho98 opened this issue May 30, 2020 · 1 comment
Open

tempos de maquina mal feitos no reset #32

ruimscarvalho98 opened this issue May 30, 2020 · 1 comment
Assignees

Comments

@ruimscarvalho98
Copy link
Collaborator

for m in self.state.machines.values(): new_oplist = [op for op in m.op_list if op.piece_id in self.tracker.pieces_on_transit] removed_ops = [op for op in m.op_list if op.piece_id not in self.tracker.pieces_on_transit] if not new_oplist: print(f'MAKING {m.id} available') m.make_available() for op in removed_ops: m.waiting_time -= op.transform.duration m.op_list = collections.deque(new_oplist)

@ruimscarvalho98 ruimscarvalho98 self-assigned this May 30, 2020
@ruimscarvalho98
Copy link
Collaborator Author

i dont foking know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant