Commit 49851c81 authored by Tomasz Bartczak's avatar Tomasz Bartczak
Browse files

LUNA16 prepare script - indexing pandas DF with a set is deprecated - turned into a list

parent 98eb97f1
...@@ -38,7 +38,7 @@ def create_masks(source: Path, target: Path, df: pd.DataFrame, num_processes: in ...@@ -38,7 +38,7 @@ def create_masks(source: Path, target: Path, df: pd.DataFrame, num_processes: in
c = [] c = []
r = [] r = []
try: try:
series_df = df.loc[{f.name.rsplit('.', 1)[0]}] series_df = df.loc[[f.name.rsplit('.', 1)[0]]]
except KeyError: except KeyError:
pass pass
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment