Error when running plotStack during martensite parent phase reconstruction using ORTools-7 #83
-
|
Dear all, I encountered an error while using the ORTools-7 toolbox to reconstruct prior austenite. Specifically, the error occurs when executing the follwing function, and the process terminates unexpectedly. I have tried several methods to resolve the issue, but none have worked so far. Therefore, I would like to ask if anyone has encountered a similar problem or has any suggestions on how to fix it. Any help or guidance would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @Yunziwuhui, Thank you for reaching out - it's never a bother - we are always happy to help out. :)
...'parentGrainId', 456.......as it exceeds the total number of parent grains.
**Lastly, and importantly, if an explanation from the maintainers resolves your issue, please press the "Mark as answer" button on the appropriate response. Your assistance in this regard enables us to close discussions as complete. ** Hope this helps. Warm regards, |
Beta Was this translation helpful? Give feedback.
-
|
Hello author, I also have some questions about ORTools. Can you add your email address to discuss? |
Beta Was this translation helpful? Give feedback.

Hi @Yunziwuhui,
Thank you for reaching out - it's never a bother - we are always happy to help out. :)
I'd advise you to please download MTEX v5.11.2 and the latest developer version of ORTools.
Both these versions have been extensively tested to ensure they work together without error.
I ran ORTools Example-7 as you mentioned.
Unfortunately, I was unable to replicate your error - line 188 worked without any issues.
If you are using the example map stated in ORTools Example-7, then the max number of parent grains is 257.
In that case, this command snippet will throw an error:
...'parentGrainId', 456.......as it exceeds the total number of parent grains.