ade456dcdf3b3d36d4a0bb1e7f1f1d66ba93744f,brian2/core/magic.py,MagicNetwork,restore,#MagicNetwork#Any#Any#Any#,241
Before Change
"""
self._update_magic_objects(level=level+1)
super(MagicNetwork, self).restore(name=name, filename=filename)
self.objects[:] = []
def get_states(self, units=True, format="dict", subexpressions=False,
level=0):
"""
After Change
"""
self._update_magic_objects(level=level+1)
super(MagicNetwork, self).restore(name=name, filename=filename)
self.objects.clear()
def get_states(self, units=True, format="dict", subexpressions=False,
level=0):
"""
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: brian-team/brian2
Commit Name: ade456dcdf3b3d36d4a0bb1e7f1f1d66ba93744f
Time: 2019-05-13
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/magic.py
Class Name: MagicNetwork
Method Name: restore
Project Name: brian-team/brian2
Commit Name: ade456dcdf3b3d36d4a0bb1e7f1f1d66ba93744f
Time: 2019-05-13
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/magic.py
Class Name: MagicNetwork
Method Name: after_run
Project Name: brian-team/brian2
Commit Name: ade456dcdf3b3d36d4a0bb1e7f1f1d66ba93744f
Time: 2019-05-13
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/magic.py
Class Name: MagicNetwork
Method Name: store
Project Name: brian-team/brian2
Commit Name: ade456dcdf3b3d36d4a0bb1e7f1f1d66ba93744f
Time: 2019-05-13
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/magic.py
Class Name: MagicNetwork
Method Name: get_states
Project Name: brian-team/brian2
Commit Name: ade456dcdf3b3d36d4a0bb1e7f1f1d66ba93744f
Time: 2019-05-13
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/magic.py
Class Name: MagicNetwork
Method Name: set_states