diff --git a/Python/main.py b/Python/main.py index 7d129b7..5e2dca6 100755 --- a/Python/main.py +++ b/Python/main.py @@ -2563,7 +2563,7 @@ def PeakSelector(self, mod): def ratio_setup(self, pars, index_pk, strind, index): if index == 2 or index == 6: # unset default expression which sets sigma and gamma for the voigt and skewed-voigt always to the same value pars[strind + str(index_pk + 1) + '_gamma'].expr = '' - pars[strind + str(index_pk + 1) + '_gamma'].vary = True + if not self.pre[2][3][2 * index_pk] == 2: pars[strind + str(index_pk + 1) + '_gamma'].vary = True # amp ratio setup if self.pre[2][15][2 * index_pk + 1] > 0: pktar = self.pre[2][15][2 * index_pk + 1]