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
The code gives an error when the user attempts to use a Gaussian prior for any nuisance parameter, by including a line like data.parameters['xyz'] = [10.0, 0, 20, 0.5, 1, 'nuisance', 'gaussian', 10.0, 1]
in the input parameter file (as the Prior module is designed to read, although this is not explained very well in the documentation).
If this line is included, the parameter xyz is then not recognised as a nuisance parameter. The cause of this bug is in line 999 of the file data.py, which should read: self['role'] = array[5]
In the current implementation it is taking the provided sigma value of the prior as the parameter role.
The text was updated successfully, but these errors were encountered:
Thanks! I'll fix it in the upcoming release.
By the way, this github page is no longer being maintained, so please report bugs on our new github page: https://github.com/brinckmann/montepython_public
Best,
Thejs
The code gives an error when the user attempts to use a Gaussian prior for any nuisance parameter, by including a line like
data.parameters['xyz'] = [10.0, 0, 20, 0.5, 1, 'nuisance', 'gaussian', 10.0, 1]
in the input parameter file (as the Prior module is designed to read, although this is not explained very well in the documentation).
If this line is included, the parameter xyz is then not recognised as a nuisance parameter. The cause of this bug is in line 999 of the file data.py, which should read:
self['role'] = array[5]
In the current implementation it is taking the provided sigma value of the prior as the parameter role.
The text was updated successfully, but these errors were encountered: