Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykubica committed Apr 18, 2024
1 parent 26b6755 commit 933cf9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kbmod/filters/clustering_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def apply_clustering(result_data, cluster_params):
# Do the actual filtering.
indices_to_keep = filt.keep_indices(result_data)
if type(result_data) is ResultList:
result_list.filter_results(indices_to_keep, filt.get_filter_name())
result_data.filter_results(indices_to_keep, filt.get_filter_name())
elif type(result_data) is Results:
result_data.filter_by_index(indices_to_keep, filt.get_filter_name())
else:
Expand Down

0 comments on commit 933cf9e

Please sign in to comment.