Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support satellite lookup by integer ID
Fixes #167. Thanks for the good idea, @Tarlan0001!
- Loading branch information
1 parent
4536fe1
commit fa34578
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fa34578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So how do we look up satellites by name now? My after updating to 1.4 my code now just gives a keyerror for referencing by name.
fa34578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does your code look like? The main routine for loading satellites still stores them in a dictionary by name as well as satellite ID, I think?
fa34578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get "KeyError: 'SWIFT'"
fa34578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'll try looking at it this evening — feel free to create an Issue if you want a higher chance that I won't forget :)
fa34578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. I opened an issue just in case.