72eac98eaecceb4b09ad8a532c5a100649f55626,brian2/core/network.py,Network,run,#Network#Any#Any#Any#Any#Any#,293
Before Change
self.pre_run(("explicit-run-namespace", namespace))
else:
// Get the locals and globals from the stack frame
frame = inspect.stack()[2 + level][0]
namespace = dict(frame.f_globals)
namespace.update(frame.f_locals)
self.pre_run(("implicit-run-namespace", namespace))
if len(self.objects)==0:
After Change
if namespace is not None:
self.pre_run(("explicit-run-namespace", namespace))
else:
namespace = get_local_namespace(2 + level)
self.pre_run(("implicit-run-namespace", namespace))
if len(self.objects)==0:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances Project Name: brian-team/brian2
Commit Name: 72eac98eaecceb4b09ad8a532c5a100649f55626
Time: 2013-07-02
Author: marcel.stimberg@ens.fr
File Name: brian2/core/network.py
Class Name: Network
Method Name: run
Project Name: brian-team/brian2
Commit Name: 72eac98eaecceb4b09ad8a532c5a100649f55626
Time: 2013-07-02
Author: marcel.stimberg@ens.fr
File Name: brian2/groups/group.py
Class Name: Group
Method Name: _set_with_code
Project Name: brian-team/brian2
Commit Name: 72eac98eaecceb4b09ad8a532c5a100649f55626
Time: 2013-07-02
Author: marcel.stimberg@ens.fr
File Name: brian2/core/network.py
Class Name: Network
Method Name: run
Project Name: brian-team/brian2
Commit Name: bc809c7974b172e5fa5f89547034a539fa1c05a1
Time: 2013-08-13
Author: marcel.stimberg@ens.fr
File Name: brian2/synapses/synapses.py
Class Name: SynapticItemMapping
Method Name: __getitem__