GithubHelp home page GithubHelp logo

fkoehlin / kids450_cf_likelihood_public Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 24 KB

Public repository for the Monte Python likelihood module for the KiDS-450 cosmic shear correlation functions.

Shell 2.86% Python 97.14%

kids450_cf_likelihood_public's People

Contributors

fkoehlin avatar

Watchers

 avatar  avatar

Forkers

jdecruz

kids450_cf_likelihood_public's Issues

Trying to import the kids450_cf_likelihood_public likelihood failed

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.