9adc30116f36e807f6f179a3e3f4550417ce35a4,pysos/sos_executor.py,MP_Executor,run,#MP_Executor#Any#,605

Before Change


                    runnable._status = None
                    target = res.target
                    if self.resolve_dangling_targets(dag, [target]) == 0:
                        raise RuntimeError("Failed to resolve {}. It is possible that it is not correctly generated by a previous step.".format(target))
                    // now, there should be no dangling targets, let us connect nodes
                    // this can be done more efficiently
                    dag.build(self.workflow.auxiliary_sections)
                    cycle = dag.circular_dependencies()

After Change


                    target = res.target
                    if self.resolve_dangling_targets(dag, [target]) == 0:
                        raise RuntimeError("Failed to resolve {} requested by {}. It is possible that it is not correctly generated by a previous step."
                            .format(", ".join(set([self.workflow.section_by_id(x._step_uuid).step_name() for x in dag.steps_depending_on(target)])),
                                target))
                    // now, there should be no dangling targets, let us connect nodes
                    // this can be done more efficiently
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: vatlab/SoS
Commit Name: 9adc30116f36e807f6f179a3e3f4550417ce35a4
Time: 2016-10-07
Author: ben.bog@gmail.com
File Name: pysos/sos_executor.py
Class Name: MP_Executor
Method Name: run


Project Name: vatlab/SoS
Commit Name: 3e383796e51a816a155d10fa09d14c4ade848abc
Time: 2019-12-02
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: 9adc30116f36e807f6f179a3e3f4550417ce35a4
Time: 2016-10-07
Author: ben.bog@gmail.com
File Name: pysos/sos_executor.py
Class Name: Base_Executor
Method Name: run