-
Notifications
You must be signed in to change notification settings - Fork 13
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
Rockstar + RAMSES functionalities [rebase of #238] #263
Conversation
tangos is numbering from 0 onwards, while yt is using the rockstar ids in some random but deterministic (?) order.
Co-authored-by: Corentin Cadiou <[email protected]>
tangos/util/read_datasets_file.py
Outdated
return int(l.split()[1]) | ||
else: | ||
raise AssertionError("Unable to open datasets.txt") | ||
raise AssertionError("Unable to open datasets.txt") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now seems like a fall-through so the error message could be updated accordingly (i.e. it might be able to open it but just not find the requested filename)
Thanks, this looks good. I made one trivially small comment above. |
Thanks for the review, I've updated the PR accordingly. |
Great, thanks! |
Adds:
This closes #238 (it is a rebase of it).