Skip to content

Commit

Permalink
fixes list typing in get_topic_corresponding_indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcboufleur committed May 8, 2024
1 parent 5c26b0d commit 632b52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/consdb/transform_efd.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def get_visits_by_period(
def butler_query_results_to_pandas(query):
return pandas.DataFrame([q.toDict() for q in query])

def get_topic_correponding_indexes(butler_table: pandas.DataFrame, topic_time_array: Union[[list],numpy.ndarray]) -> List:
def get_topic_correponding_indexes(butler_table: pandas.DataFrame, topic_time_array: Union[List,numpy.ndarray]) -> List:
"""
Returns a list of topic indexes corresponding to each row in the butler_table. It is assumed that the butler_table and the topic_time_array are sorted in time ascending order.
Expand Down

0 comments on commit 632b52d

Please sign in to comment.