Skip to content

Commit

Permalink
Drop old index
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Nov 16, 2023
1 parent 5e1eeab commit a5477e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gget/gget_elm.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def elm(
& (ortho_df["InstanceLogic"] != "true negative")
]
# Drop duplicate rows and reset the index
ortho_df = ortho_df.drop_duplicates().reset_index()
ortho_df = ortho_df.drop_duplicates().reset_index(drop=True)

# Build data frame containing regex motif matches
if verbose:
Expand Down Expand Up @@ -459,7 +459,7 @@ def elm(
& (df_regex_matches["InstanceLogic"] != "true negative")
]
# Drop duplicates and reset index
df_regex_matches = df_regex_matches.drop_duplicates().reset_index()
df_regex_matches = df_regex_matches.drop_duplicates().reset_index(drop=True)

# Create out folder if it does not exist
if out:
Expand Down

0 comments on commit a5477e4

Please sign in to comment.