Skip to content

Added femtofarad (fF) to the units.#210

Merged
apdavison merged 2 commits intopython-quantities:masterfrom
Hannnsen:patch-1
Nov 29, 2022
Merged

Added femtofarad (fF) to the units.#210
apdavison merged 2 commits intopython-quantities:masterfrom
Hannnsen:patch-1

Conversation

@Hannnsen
Copy link
Copy Markdown
Contributor

Pull request to address issue #209.
Four lines were added to define fF as a UnitQuantity.

Copy link
Copy Markdown
Contributor

@apdavison apdavison left a comment

Choose a reason for hiding this comment

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

Many thanks for the pull request, just one small typo to fix

)
fF = UnitQuantity(
'femtofarad',
pf/1000,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this should be pF/1000

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for spotting that! For some reason, I put nano instead of femto.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is a typo in your code. pf/1000 will not work, no? So, it should be pF/1000.

@apdavison apdavison merged commit 4e1afa1 into python-quantities:master Nov 29, 2022
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