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

"psi" renders as a greek character #90

Open
JWock82 opened this issue Jul 14, 2021 · 4 comments
Open

"psi" renders as a greek character #90

JWock82 opened this issue Jul 14, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@JWock82
Copy link

JWock82 commented Jul 14, 2021

The structural units "psi" renders as the greek symbol ψ

@JWock82 JWock82 closed this as completed Jul 15, 2021
@JWock82
Copy link
Author

JWock82 commented Jul 15, 2021

I'm going to move this issue over to "forallpeople" where it probably belongs.

@connorferster
Copy link
Owner

@JWock82 I think this belongs in handcalcs.

I have been thinking about this. It seems inevitable that there would be a clash like this at some point. I had not run into this before because I primarily use ksi instead of psi.

For a quick work-around, you could create an alias for psi by doing PSI = psi. This will not get caught by the swap_for_greeks() function (which would catch both psi and Psi). If this approach works for you, you could then edit the structural.json file to change the key for psi to PSI to obviate creating the alias.

Am open to suggestions or other work arounds on this. Let me know your thoughts.

@connorferster connorferster reopened this Jul 17, 2021
@JWock82
Copy link
Author

JWock82 commented Jul 17, 2021

Thanks for the response, and thanks for handcalcs. It’s a great library. I’m a structural engineer in the U.S. so every time I design with concrete or masonry it’s f’c =4000 psi or f’m=2000 psi or fy = 60000 psi, but it’s easy enough for me to just use ksi instead.

@connorferster
Copy link
Owner

connorferster commented Jul 18, 2021 via email

@connorferster connorferster self-assigned this Dec 7, 2021
@connorferster connorferster added the bug Something isn't working label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants