Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alinnman committed Nov 28, 2024
1 parent b6f1327 commit ec46214
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion xtras/starfixdata_xtra_aus_fb.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
'''

from time import time
from starfix import Sight, SightCollection, get_representation, get_google_map_string, IntersectError
from starfix import Sight, SightCollection, get_representation,\
get_google_map_string, IntersectError


starttime = time ()
Expand Down
4 changes: 2 additions & 2 deletions xtras/starfixdata_xtra_gotland.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from time import time
from starfix import Sight, SightCollection, get_representation,\
get_google_map_string, IntersectError
get_google_map_string, IntersectError, LatLon


starttime = time ()
Expand Down Expand Up @@ -54,7 +54,7 @@
print ("GM = " + get_google_map_string(intersections,4))

# Check azimuth
print (type(intersections))
assert isinstance (intersections, LatLon)
az = a.get_azimuth (intersections)
print ("Azimuth A = " + str(round(az,2)))
az = b.get_azimuth (intersections)
Expand Down
1 change: 1 addition & 0 deletions xtras/starfixdata_xtra_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@

endtime = time ()
takenMs = round((endtime-starttime)*1000,2)
assert isinstance (intersections, LatLon)
print (get_representation(intersections,1))
print ("MD = " + collection.get_map_developers_string())
print ("GM = " + get_google_map_string(intersections,4))
Expand Down

0 comments on commit ec46214

Please sign in to comment.