Skip to content

Commit

Permalink
[Dicon] Copy df
Browse files Browse the repository at this point in the history
  • Loading branch information
YanSte committed Sep 9, 2023
1 parent eb3987e commit a9e271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skit/dicom.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def __init__(self,
if col not in df.columns:
raise ValueError(f"Columns {col} must be in dataset")

self.__df = df
self.__df = df.copy()
self.__num_imgs = num_imgs
self.__id_column_name = id_column_name
self.__label_column_name = label_column_name
Expand Down

0 comments on commit a9e271e

Please sign in to comment.