From ccc0f964e093b163fd08f6e536688bc31265a440 Mon Sep 17 00:00:00 2001 From: Harry Carey <harry.carey95@gmail.com> Date: Wed, 26 Mar 2025 16:25:23 +0100 Subject: [PATCH] give default value to apply_damage_mask --- PyNutil/io/read_and_write.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyNutil/io/read_and_write.py b/PyNutil/io/read_and_write.py index 8113b62..7aaac8c 100644 --- a/PyNutil/io/read_and_write.py +++ b/PyNutil/io/read_and_write.py @@ -182,7 +182,7 @@ def load_segmentation(segmentation_path: str): # related to read and write # this function reads a VisuAlign JSON and returns the slices -def load_visualign_json(filename, apply_damage_mask): +def load_visualign_json(filename, apply_damage_mask=True): """ Reads a VisuAlign JSON file (.waln or .wwrp) and extracts slice information. Slices may include anchoring, grid spacing, and other image metadata. -- GitLab