astroARIADNE icon indicating copy to clipboard operation
astroARIADNE copied to clipboard

PriorError with test_bma script

Open privong opened this issue 1 year ago • 0 comments

test_bma.py specifies the teff prior as rave:

    f.prior_setup = {
        'teff': ('rave'),

But per the README this does not seem to be an allowed prior specification. Running the script results in a PriorError, though the script otherwise appears to run to completion. The error is:

An exception was caught!: PriorError
Error message: The default prior for teff is not permitted. Allowed priors are normal, truncnorm, uniform and default.

Changing the prior specification to default, seems to fix it, i.e., changing line 49 of test_bma.py to:

        'teff': ('default'),

I am using astroARIANDE version 1.0.9:

In [1]: import astroARIADNE
astroAR	PyMultiNest not imported.  MultiNest fits will not work.
/Users/gprivon/opt/anaconda3/lib/python3.7/site-packages/astroARIADNE/fitter.py:44: UserWarning: (py)MultiNest installation (or libmultinest.dylib) not detected.
  '(py)MultiNest installation (or libmultinest.dylib) not detected.'

In [2]: astroARIADNE.__version__
Out[2]: '1.0.9'

privong avatar May 22 '23 01:05 privong