Skip to content

Commit

Permalink
Update warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzLamm committed Jan 3, 2024
1 parent b577c5e commit 5373977
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/membrain_seg/annotations/merge_corrections.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ def get_corrections_from_folder(folder_name, orig_pred_file):
or filename.startswith("Ignore")
or filename.startswith("ignore")
):
print("ATTENTION! Not processing", filename)
print("Is this intended?")
print(
"File does not fit into Add/Remove/Ignore naming! " "Not processing",
filename,
)
continue
readdata = sitk.GetArrayFromImage(
sitk.ReadImage(os.path.join(folder_name, filename))
)
print("Adding file", filename, "<--")
print("Adding file", filename)

if filename.startswith("Add") or filename.startswith("add"):
add_patch += readdata
Expand Down

0 comments on commit 5373977

Please sign in to comment.