I have a function within an app that simulates and convolutes multiple spectra using a loop where it is possible to specify any combination of 'garlic', 'chili', or 'pepper' over the iterations. In 5.2.28, when the first iteration puts Method into Opt and uses garlic or pepper, then the second iteration adds LiouvMethod and uses chili, Opt.Method is ignored by chili. In dev6.0.0-dev.26 I get the error that Method is not allowed for chili, even though LiouvMethod is also in Opt. Is this an intentional change in v6? I can reproduce this by adding Opt.Method and Opt.LiouvMethod (and adding Opt as an argument in the function calls) to the example "slow_fast.m".
6.0.0-dev.26 doesn't ignore Method if LiouvMethod also exists
-
- User
- Posts: 38
- Joined: Tue May 26, 2015 1:50 pm
-
- EasySpin Creator
- Posts: 1127
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: 6.0.0-dev.26 doesn't ignore Method if LiouvMethod also exists
This was in place to prevent users from calling chili
with Opt.Method
, which was the previous name for the Opt.LiouvMethod
field. It's probably no longer needed. This is now changed and will be available with the next 6.0.0-dev release. Thanks for reporting!