Skip to content

Commit

Permalink
Merge pull request #11 from tylerapritchard/d-giles-patch-1
Browse files Browse the repository at this point in the history
Update MASTSearch.py: fixed tuple behavior for getting sky coordinates
  • Loading branch information
tylerapritchard authored May 7, 2024
2 parents 9dbe993 + 4102a9e commit 08c638a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lksearch/MASTSearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def _parse_input(self, search_input: Union[str, tuple[float], SkyCoord]):

elif isinstance(search_input, tuple):
self.target_search_string = f"{search_input[0]}, {search_input[1]}"
self.SkyCoord = SkyCoord(search_input, frame="icrs", unit="deg")
self.SkyCoord = SkyCoord(*search_input, frame="icrs", unit="deg")

elif isinstance(search_input, str):
self.target_search_string = search_input
Expand Down

0 comments on commit 08c638a

Please sign in to comment.