Skip to content

Commit f399435

Browse files
committed
Remove useless line and whitespace.
1 parent 1da84e3 commit f399435

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

astroquery/jplhorizons/core.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,13 +1218,10 @@ def _location_to_params(loc_dict):
12181218
}
12191219
loc_dict["SITE_COORD"] = f"'{loc_dict['SITE_COORD']}'"
12201220
return loc_dict
1221-
1221+
12221222
@staticmethod
12231223
def _format_site_coords(coords):
12241224
# formats lon/lat/elevation/body (e.g., id and location dictionaries) for the Horizons API
1225-
",".join(
1226-
str(coords[k].to_value()) for k in ['lon', 'lat', 'elevation']
1227-
)
12281225
return (f"{coords['lon'].to_value('deg')},{coords['lat'].to_value('deg')},"
12291226
f"{coords['elevation'].to_value('km')}@{coords['body']}")
12301227

0 commit comments

Comments
 (0)