Skip to content

Commit b3a9594

Browse files
syed-gilanibsipocz
authored andcommitted
removed the set methods for service and mission
1 parent eda0e66 commit b3a9594

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

astroquery/mast/missions.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,6 @@ def __init__(self, mission='hst', service='search'):
3838
service_dict = {self.service: {'path': self.service, 'args': {}}}
3939
self._service_api_connection.set_service_params(service_dict, f"{self.service}/{self.mission}")
4040

41-
def set_service(self, service):
42-
"""
43-
Set the service name
44-
45-
Parameters
46-
----------
47-
service : `str`
48-
the name of the service
49-
"""
50-
self.service = service
51-
52-
def set_mission(self, mission):
53-
"""
54-
Set the mission name
55-
56-
Parameters
57-
----------
58-
mission : `str`
59-
the name of the mission
60-
"""
61-
62-
self.mission = mission
63-
6441
def _parse_result(self, response, verbose=False): # Used by the async_to_sync decorator functionality
6542
"""
6643
Parse the results of a `~requests.Response` objects and return an `~astropy.table.Table` of results.

0 commit comments

Comments
 (0)