You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of HKL exclusion options now, and many times, some of them are being ignored. I think we need to make it very clear when they are ignored, because it is very confusing to users otherwise. The clearest way is to raise an exception and force the user to rewrite their config until it doesn't contain any ignored settings.
For example, if fit-grains is ran with the default reset_exclusions: True, all HKL exclusion options in the material config will have no effect, because the HKLs will be reset again later in fit-grains. If the user sets any exclusion options in the material config, we should make it clear to them that it has no effect. We probably want to raise an exception.
Another example: if reset_exclusions: False is set, but other HKL exclusions options are also set, then we should also raise an exception, because those options will have no effect.
Also, if we set both tthmax and tth_max, an exception should be raised because tth_max will be ignored. Same kind of thing with min_sfac_ratio and sfacmin.
@darrencpagan Feel free to provide additional feedback.
The text was updated successfully, but these errors were encountered:
There are a lot of HKL exclusion options now, and many times, some of them are being ignored. I think we need to make it very clear when they are ignored, because it is very confusing to users otherwise. The clearest way is to raise an exception and force the user to rewrite their config until it doesn't contain any ignored settings.
For example, if
fit-grains
is ran with the defaultreset_exclusions: True
, all HKL exclusion options in thematerial
config will have no effect, because the HKLs will be reset again later infit-grains
. If the user sets any exclusion options in thematerial
config, we should make it clear to them that it has no effect. We probably want to raise an exception.Another example: if
reset_exclusions: False
is set, but other HKL exclusions options are also set, then we should also raise an exception, because those options will have no effect.Also, if we set both
tthmax
andtth_max
, an exception should be raised becausetth_max
will be ignored. Same kind of thing withmin_sfac_ratio
andsfacmin
.@darrencpagan Feel free to provide additional feedback.
The text was updated successfully, but these errors were encountered: