c04789a45a6aa327babbf4081ce791b666c838e5,src/sos/workflow_executor.py,Base_Executor,run_as_master,#Base_Executor#Any#Any#,1104

Before Change


                                // if the step is from a subworkflow, then the missing target
                                // should be resolved by the nested workflow
                                runnable._child_socket.send_pyobj(res)
                                reply = runnable._child_socket.recv_pyobj()
                                if reply:  // if the target is resolvable in nested workflow
                                    runnable._status = "target_pending"
                                    runnable._pending_targets = [missed]
                                    // tell the step that the target is resolved and it can continue

After Change


                                // if the step is from a subworkflow, then the missing target
                                // should be resolved by the nested workflow
                                runnable._child_socket.send(encode_msg(res))
                                reply = decode_msg(runnable._child_socket.recv())
                                if reply:  // if the target is resolvable in nested workflow
                                    runnable._status = "target_pending"
                                    runnable._pending_targets = [missed]
                                    // tell the step that the target is resolved and it can continue
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 3

Instances


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/workflow_executor.py
Class Name: Base_Executor
Method Name: run_as_master


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/workflow_executor.py
Class Name: Base_Executor
Method Name: run_as_nested


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/controller.py
Class Name: Controller
Method Name: handle_master_request_msg


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/workers.py
Class Name: WorkerManager
Method Name: kill_all


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/controller.py
Class Name:
Method Name: request_answer_from_controller


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/controller.py
Class Name: Controller
Method Name: run


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/workers.py
Class Name: SoS_Worker
Method Name: run


Project Name: vatlab/SoS
Commit Name: c04789a45a6aa327babbf4081ce791b666c838e5
Time: 2019-08-03
Author: ben.bog@gmail.com
File Name: src/sos/workers.py
Class Name: WorkerManager
Method Name: worker_available