Skip to content

Commit

Permalink
delete unneeded method
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosseel committed Dec 31, 2023
1 parent 188e2a2 commit c493f79
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions python/PiFinder/catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,21 +569,6 @@ def next_object(self, direction=1, filtered=True):
def previous_object(self):
return self.next_object(-1)

# def get_objects(self, catalogs=None, filtered=False) -> List[Dict]:
# # called in push_cat ONLY
# logging.warning(
# f"WHERE IS THIS CALLED??? get_objects: {catalogs=}, {filtered=}"
# )
# catalog_list = self._select_catalogs(catalogs)
# object_values = []
# for catalog in catalog_list:
# if filtered:
# object_values.extend(catalog.filtered_objects.values())
# else:
# object_values.extend(catalog.cobjects.values())
# flattened_objects = [obj for entry in catalog_list for obj in object_values]
# return flattened_objects

def does_filtered_have_current_object(self):
return (
self.object_tracker[self.current_catalog_name]
Expand Down

0 comments on commit c493f79

Please sign in to comment.