Skip to content

Background Calculations#1149

Merged
hsinfan1996 merged 156 commits intomasterfrom
distances_v3_revive
Jan 2, 2024
Merged

Background Calculations#1149
hsinfan1996 merged 156 commits intomasterfrom
distances_v3_revive

Conversation

@hsinfan1996
Copy link
Contributor

@hsinfan1996 hsinfan1996 commented Dec 21, 2023

Merge distances_v3 branch into master (different from PR #1066 ). Closes issue #954 andd #408 .

@hsinfan1996
Copy link
Contributor Author

@nikosarcevic I've done merging the master branch into the revived distances_v3. Now you can try the new functions and see if the calculations are correct and maybe modify the code if you want.

@hsinfan1996 hsinfan1996 marked this pull request as ready for review December 21, 2023 14:38
@hsinfan1996 hsinfan1996 linked an issue Dec 21, 2023 that may be closed by this pull request
@damonge
Copy link
Collaborator

damonge commented Dec 22, 2023

@hsinfan1996 let me know when you'd like me to review this. Right now I see the tests are still failing, but happy to help.

@damonge damonge self-requested a review December 22, 2023 17:59
@hsinfan1996
Copy link
Contributor Author

@damonge This is ready for review. Is there a way to fix the tests on macOS? I don't know why sometimes they passed but sometimes not.

@hsinfan1996
Copy link
Contributor Author

hsinfan1996 commented Dec 28, 2023

@damonge This is ready for review. Is there a way to fix the tests on macOS? I don't know why sometimes they passed but sometimes not.

From my observation, faster test runs on macOS (typically < 25 min) will pass, slower ones (~35 min) will not. The weird thing is that the failed tests are not timed, but it is good that the problem is not likely caused by our code.

Copy link
Collaborator

@damonge damonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @hsinfan1996 (and @nikfilippas for the initial implementation). Some comments below.

@hsinfan1996 hsinfan1996 requested a review from damonge January 2, 2024 15:51
Copy link
Collaborator

@damonge damonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hsinfan1996 hsinfan1996 merged commit 682ba47 into master Jan 2, 2024
@hsinfan1996 hsinfan1996 deleted the distances_v3_revive branch January 2, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lookback time Implement lookback time Add comoving volume element calculation to the background module

4 participants