Problem with injection context when using set after run with IZK_cond_exp
There seems to be an issue when using e.g. pop.set('i_offset', 1) when pop uses the IZK_cond_exp model.
diff --git a/spynnaker/pyNN/models/neuron/neuron_models/abstract_neuron_model.py b/spynnaker/pyNN/models/neuron/neuron_models/abstract_neuron_model.py
index cd9e384897..08d32c67dc 100644
--- a/spynnaker/pyNN/models/neuron/neuron_models/abstract_neuron_model.py
+++ b/spynnaker/pyNN/models/neuron/neuron_models/abstract_neuron_model.py
@@ -2,7 +2,7 @@ from six import add_metaclass
 
 from spinn_utilities.abstract_base import AbstractBase, abstractmethod
 
-from spynnaker.pyNN.utilities import utility_calls
+_BYTES_PER_PARAMETER = 4
 
 
 @add_metaclass(AbstractBase)
@@ -77,7 +77,7 @@ class AbstractNeuronModel(object):
         :return: The SDRAM usage
         :rtype: int
         """
-        return self.get_n_neural_parameters() * 4
+        return self.get_n_neural_parameters() * _BYTES_PER_PARAMETER
 
     def get_dtcm_usage_per_neuron_in_bytes(self):
         """ Get the DTCM usage of this neuron model in bytes
@@ -85,7 +85,7 @@ class AbstractNeuronModel(object):
         :return: The DTCM usage
         :rtype: int
         """
-        return self.get_n_neural_parameters() * 4
+        return self.get_n_neural_parameters() * _BYTES_PER_PARAMETER
 
     def get_sdram_usage_for_global_parameters_in_bytes(self):
         """ Get the SDRAM usage of the global parameters in bytes
@@ -93,8 +93,7 @@ class AbstractNeuronModel(object):
         :return: The SDRAM usage
         :rtype: int
         """
-        global_parameters = self.get_global_parameters()
-        return utility_calls.get_parameters_size_in_bytes(global_parameters)
+        return self.get_n_global_parameters() * _BYTES_PER_PARAMETER
 
     def set_global_parameters(self, parameters):
         """ Sets any global parameters.  Override if there are changing\\
['spynnaker/pyNN/models/neuron/neuron_models/abstract_neuron_model.py']