Closed jmccormac01 closed 2 years ago
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?
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.
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.
Hey Max! I hope you are well. I'm checking out allesfitter (very nice btw) and I get an error when running the first tutorial. Have you seen this before? Let m know if you need more info. Below is a dump of the output and traceback.
I simply ran the
run.py
file using the files from the git repo. Cheers, James