Skip to content

Commit

Permalink
do not add fileinfo twice
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrako committed Sep 14, 2023
1 parent 56fb21a commit e5d5c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymovements/dataset/dataset_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def add_fileinfo(
[
pl.lit(value).alias(column)
for column, value in fileinfo.items()
if column != 'filepath'
if column != 'filepath' and column not in df.columns
] + [pl.all()],
)

Expand Down

0 comments on commit e5d5c03

Please sign in to comment.