Giter VIP home page Giter VIP logo

Comments (3)

MNGuenther avatar MNGuenther commented on July 23, 2024

Hi James!

Do I understand right that you copied all the existing files to your local directory and then ran "run.py" (which then tries to overwrite the existing output files copied over from GitHub)?

Could you send me a log of which OS and which versions of Python, allesfitter, and dynesty you are using?

from allesfitter.

MNGuenther avatar MNGuenther commented on July 23, 2024

Confirmed, the results.copy() feature was removed by dynesty>=1.2. All prior dynesty versions allow it and work well. You can chose one of the following solutions for now:

Solution 1: Downgrade to dynesty 1.1.

Solution 2: Amend your local file "nested_sampling_output.py" by adding the line from copy import deepcopy into the imports and replacing line 158 with results2 = deepcopy(results).

I'll push the updated version in the next allesfitter release, so it will be compatible with dynesty>=1.2 going forward.

from allesfitter.

MNGuenther avatar MNGuenther commented on July 23, 2024

Confirmed again, this was a bug in dynesty 1.2, 1.2.1, and 1.2.2. The .copy() functionality will be re-added in dynesty v1.2.3.

For future reference: please upgrade to allesfitter 1.2.9 to bypass this problem.

from allesfitter.

Related Issues (20)

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.