fkoehlin / kids450_cf_likelihood_public Goto Github PK
View Code? Open in Web Editor NEWPublic repository for the Monte Python likelihood module for the KiDS-450 cosmic shear correlation functions.
Public repository for the Monte Python likelihood module for the KiDS-450 cosmic shear correlation functions.
Dear Mr/Ms,
My name is Jaime and I am an UCL undergrad currently undertaking a summer project. I am having some issues trying to run the code.
I have carefully followed all the steps of the installation and I am currently trying to run the code within Montepython using:
'python montepython/MontePython.py run -o test -p input/kids450_cf.param'
However, I get the following error message:
'Trying to import the kids450_cf_likelihood_public likelihood as asked in
the parameter file, and failed. Please make sure it is in the
Montepython/likelihoods` folder, and is a proper python module. Check
also that the name of the class defined in the init.py matches the
name of the folder. In case this is not enough, here is the original
message: cannot import name solve_triangular'
I have made sure that I have the compatible python (2.6.6) and class (2.7.2) versions and he init.py file inside the likelihood and the .param file quote the right likelihood folder, the folder is in the correct directory, the content of the likelihood folder contains both a .py and a .data file and that the montepython and montepython likelihoods directories contain the necessary empty init.py to recognize likelihoods as python files. I have also tried running the code deleting the init.pyc files that are created during the runs in both directories.
Moreover, I have tried repeating the installation and switching the likelihood called in the .param file and the program runs fine so it seems to be a simple problem with the folder allocation of the kids likelihood but I cannot figure it out.
Do you know how could this issue be solved?
Thank you so much in advance.
All the best,
Jaime.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.