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

make MKS <-> CGS conversions smarter, add Farad. Fixes #53 #54

Merged
merged 2 commits into from Dec 11, 2018

Conversation

ngoldbaum
Copy link
Member

@ngoldbaum ngoldbaum commented Dec 10, 2018

This fixes the issue pointed out by @l-johnston in #53. For units that are made up of base units we can be a little bit smarter. I've also added a test.

I've also added Farad to the default unit registry since I believe that was omitted as an oversight and not because of any intentional reason.

Edit: Also pushed some minor doc fixes to unbreak the coverage tests.

@jzuhone
Copy link
Contributor

jzuhone commented Dec 10, 2018

There are a few other things in here beyond what you said (some doc changes/fixes)--they look ok to me but should they be mentioned in the description for posterity?

@ngoldbaum
Copy link
Member Author

Sorry, I had to push some extraneous stuff to fix the coverage tests.

@jzuhone
Copy link
Contributor

jzuhone commented Dec 10, 2018

No worries.

@jzuhone jzuhone merged commit 1dc8e92 into yt-project:master Dec 11, 2018
@ngoldbaum ngoldbaum deleted the define-em-unit-fix branch December 14, 2018 19:12
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.

None yet

2 participants