Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Dec 23, 2023
1 parent e879fc3 commit ff350ef
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions bin/index_sso_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def mark_as_duplicate(series, count=0):
else:
return series


def sort_indices(pdf, column='ssodnet'):
""" Isolate decimal values in `column`, and sort the DataFrame by ascending order
Expand Down Expand Up @@ -154,15 +155,6 @@ def main():
# Vector contains (MPC_names, MPC_numbers, ZTF_ssnamenr)
index_ssodnet = np.concatenate((sso_name, sso_number_valid, pdf.ssnamenr.values))

# Source identifier
index_source = np.concatenate(
(
['name'] * len(sso_name),
['number'] * len(sso_number_valid),
['ssnamenr'] * len(pdf)
)
)

# create index vector for Fink
index_fink = np.concatenate(
(
Expand Down

0 comments on commit ff350ef

Please sign in to comment.