Repository navigation
Implemented preferred rescaling - #173
Conversation
|
Hi Rick, this seems like a useful feature, and the implementation seems reasonable although I wonder if there isn't a more robust method of comparing units than by their string representation. Please could you
(by the way, what is the problem you're seeing with versioneer? - it was working fine last time I made a release) |
|
Yes, I will do all those things. Sorry about the versioneer thing. There was a period several months ago when it was not working, but it's been resolved so I will rebase and remove that commit. |
|
I've simplified the PR as requested, and added unit tests. But I'm unclear as to where the usage examples would go, or if they should go anywhere at all. As for the string comparison, I could probably replace that with a direct comparison of the simplified units, but I am always hesitant to trust |
|
@apdavison Any thoughts? |
|
Hi @rgerkin, this looks good. The documentation is auto-generated, so the best place for the usage examples would be in docstrings. Please could you add a docstring for (actual usage examples aren't really needed, just docstrings that explain the behaviour). |
|
@apdavison OK, let me know how that looks (1a0dc15). |
See #172.