baudren / montepython_public

Public repository for the Monte Python Code
MIT License
65 stars 115 forks source link

Depricated Numpy and 'Planck_highl' object has no attribute 'path_clik' #108

Open purba13194 opened 6 years ago

purba13194 commented 6 years ago

Dear Sir,

    I am facing this problem as I run my codes. The details are given below as an attachment. I would be grateful if anyone could help me i this context.

[pm14ip011@hpc code]$ python montepython/MontePython.py run -p base2015.param -o outdir/ -b bestfit/base2015.bestfit -c covmat/base2015.covmat --conf my.conf Running Monte Python v2.2.2

with CLASS v2.6.3

Testing likelihoods for: -> Planck_highl, Planck_lowl, Planck_lensing

RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7 Traceback (most recent call last): File "montepython/MontePython.py", line 40, in sys.exit(run()) File "/home/pm14ip011/MontePy_Workspace/code/montepython/run.py", line 31, in run custom_command) File "/home/pm14ip011/MontePy_Workspace/code/montepython/run.py", line 188, in safe_initialisation cosmo, data, command_line, success = initialise(custom_command) File "/home/pm14ip011/MontePy_Workspace/code/montepython/initialise.py", line 66, in initialise data = Data(command_line, path) File "/home/pm14ip011/MontePy_Workspace/code/montepython/data.py", line 340, in init self.initialise_likelihoods(self.experiments) File "/home/pm14ip011/MontePy_Workspace/code/montepython/data.py", line 460, in initialise_likelihoods elem, elem, folder, elem) File "", line 1, in File "/home/pm14ip011/MontePy_Workspace/code/montepython/likelihood_class.py", line 863, in init self.clik = clik.clik(self.path_clik) AttributeError: 'Planck_highl' object has no attribute 'path_clik'

brinckmann commented 6 years ago

See reply by Deanna to your other post in issue #94, as well as instructions in issue #68. Best, Thejs