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

Certain units do not work #92

Open
bradleymarques opened this issue Apr 30, 2023 · 0 comments
Open

Certain units do not work #92

bradleymarques opened this issue Apr 30, 2023 · 0 comments

Comments

@bradleymarques
Copy link

bradleymarques commented Apr 30, 2023

The following units raise AttributeErrors when using them:

  1. Distance - british_ft
  2. Distance - british_yd
  3. Distance - german_m
  4. Distance - gold_coast_ft
  5. Distance - indian_yd
  6. Distance - nm_uk
  7. Distance - sears_yd
  8. Distance - survey_ft

Example:

from measurement.measures.geometry import Distance

distance = Distance(m=1)
distance.nm_uk

# AttributeError: Distance object has no attribute 'nm_uk'
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

No branches or pull requests

1 participant