scikit-spectra
scikit-spectra copied to clipboard
__setattr__ metadataframe?
Noticed that in pyparty, could comment this out and in fact, if it was not commented out, I got the attributed added to both self.dict and self.particle.dict.
After get testing and more stuff fixed, maybe try commenting it out?
From pyparty.MetaParticle
def __setattr__(self, attr, value):
""" Defer attribute calls to to self.particle unless overwriting
name, color etc... """
if attr not in self.__dict__:
setattr(self.particle, attr, value)
else:
self.__dict__[attr] = value