-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial issues #1071
Comments
Hi @mctcampb before running the notebook, did you first download the initial halo catalog data? There are docs for that in the Getting Started with Halotools quickstart guide. In case you did not, then I think this error is expected. |
Hi there, Yes, I have downloaded every available halo catalog. Other members of my team are experiencing the same issue, and cannot use certain catalogs. |
Hi @mctcampb sorry this issue continues to cause you problems. I have been having trouble reproducing it and so I'm having a hard time figuring out what could be causing it. When I run the first code cell of this notebook locally on my machine, it executes without complaints. The only things I can think of that would cause what you are seeing would be that either there was some problem with the download of the halo catalog, or that it has not been cached. Are you able to confirm that you do indeed have the halo table on disk? If you used the
There should also be a corresponding entry in the halo catalog cache log, which should be located here: If you inspect that file (which is just plain ASCII), you should see an entry for every one of the halo catalogs you downloaded and cached, along with the path where it is stored. Could you check on these two things and let me know what you find? |
Hi there, it seems like we figured out the issue. This problem only appears when using Windows, but not Linux/macOS. Thank you for the help! |
I ran into the same problem after installing halotools 9.0 on Windows 11 via conda. Apparently clean install and I correctly prepped the cached halo catalogs, but they didn't always work in the tutorials. If helpful, I've copied the full error message I got when running the third cell of
|
Hi there, I am pretty new to using halotools, so I am trying trying to get a sense of the package by working through some of the available tutorials. I have downloaded the default halo catalogs and am working through the tutorial "Galaxy Catalog Analysis Example: Galaxy-galaxy lensing." However, when I copy and paste the first chunk of code into my notebook and try to run it, I get the following error: 'CachedHaloCatalog' object has no attribute '_halo_table'. I have also downloaded some of the jupyter notebooks from the documents section and tried to run them myself, and the same error message popped up. I would really appreciate any help!
The text was updated successfully, but these errors were encountered: