Skip to content

Commit

Permalink
fix: pylint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-l-amaral committed Jan 12, 2024
1 parent 496a544 commit 83a3d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/link_directory_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def select_columns(df: pd.DataFrame, not_column_name: list, remove_already_done:
df = df[~contains_wrong_column_name]

if remove_already_done and ("directoryPrimaryKey.name" in df.columns):
conected = df["directoryPrimaryKey.name"] != None
conected = df["directoryPrimaryKey.name"] is not None
print(
f" Removed {conected.sum()} columns that are already conected to a directory"
)
Expand Down

0 comments on commit 83a3d1c

Please sign in to comment.