changes in normalizer are picked up one processing step later
Hey nomad,
in a normalizer I could do the following:
class SprayPyrolysis(LayerDeposition):
'''Base class for spray pyrolysis of a sample'''
precursor_type = Quantity(
type=MEnum([
'Hole Transport Layer',
'Electron Transport Layer']),
a_eln=dict(component='AutocompleteEditQuantity'))
def normalize(self, archive, logger):
super(SprayPyrolysis, self).normalize(archive, logger)
self.layer = self.precursor_type
self.method = "Spray Pyrolysis"
where self.layer is a quantity from LayerDeposition.
What happens when i change the quantity precursor_type
layer
is only changed after a second processing:
so in the archive for me, with this code precursor_type
and layer
should always be the same. But as you can see in the image they are not. I think this is a bug.
Best Micha