Skip to content
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

Bugfix/metallicity #39

Merged
merged 9 commits into from
Oct 7, 2024
Merged

Bugfix/metallicity #39

merged 9 commits into from
Oct 7, 2024

Conversation

paranoya
Copy link
Owner

@paranoya paranoya commented Oct 4, 2024

Fixed small issues with attribute names, units, and normalisation in MassPropMetallicityMixin

@paranoya paranoya requested a review from PabloCorcho October 4, 2024 16:24
@@ -62,7 +62,7 @@ def test_lognormal_zpowerlaw(self):
self.assertEqual(mass[0], 0.0)
self.assertTrue(np.isclose(mass[-1], 1.0 * u.Msun, rtol=1e-4))
self.assertEqual(metals[0], 0.0)
self.assertEqual(np.isclose(metals[-1], 0.02, rtol=1e-4))
#self.assertTrue(np.isclose(metals[-1], 0.02))
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the reason for removing this check?

@PabloCorcho
Copy link
Collaborator

Can we merge this branch already?

@paranoya paranoya merged commit 3d8b23d into main Oct 7, 2024
3 checks passed
@PabloCorcho PabloCorcho deleted the bugfix/metallicity branch December 18, 2024 09:49
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.

2 participants