Unverified Commit 11248500 authored by Michael Baumgartner's avatar Michael Baumgartner Committed by GitHub
Browse files

Merge pull request #181 from kretes/luna_prepare_pandas_loc_fix

LUNA16 prepare script - indexing pandas DF with a set is deprecated -…
parents 98eb97f1 49851c81
...@@ -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