-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi all.
Thank yo for this amazing software.
I have ran into a problem with the ebsd module, as below:
The Grain class takes two arguments "grainID and ebsd.Map", and should inherit the objects that exist in the ebsd.Map.
But I think this does NOT happen.
The problem starts with running the crystalSym function, which is defined as below:
def crystalSym(self):
return self.phase.crystalStructure.name
After calling this function, it shows the below error:
AttributeError: 'Grain' object has no attribute 'phase'.
I think the "crystalStructure.name" should be inherited from the Phase class in the defdap.Crystal module, which is already called in the ebsd.Map class. But it seems the code does NOT pass the information from the ebsd.Map class into the ebsd.Grain class.
Since the crystalSym does not run, all subsequent functions of the Grain class that use that function do not run accordingly.
Thank you.