Angles should be comparable/sortable
See original GitHub issuePython 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from skyfield.units import Angle
>>> Angle(degrees=10) > Angle(degrees=5)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: '>' not supported between instances of 'Angle' and 'Angle'
This should return True
correct? Or is there some weird Angle
logic that makes that not possible? Skyfiel 1.26 installed with pip3
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Smerity (@Smerity) / Twitter
You ask a game dev “Can the player summon a giant demon that bursts from the ground in an ... Multifinger, angle and...
Read more >Determining Which Angles in a Triangle Must be Less Than a ...
Video Transcript. In the given figure, which angles must have smaller measures than the measure of angle one? In this example, we need...
Read more >the face of what came after: memorialization of september 11
and their “shells,” but framing distinguishes between issues and frames: One issue can be covered from multiple angles or frames, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rory If sorting a set of
Angle
objects was the goal,https://stackoverflow.com/questions/403421/how-to-sort-a-list-of-objects-based-on-an-attribute-of-the-objects
As this has been idle for more than a year, I’m going to hope that users are getting along fine by comparing or sorting degrees or radians as appropriate. I’ll be happy to hear more ideas or problems here on the issue, though, so feel free to comment in the future despite its being closed. Thanks!