diff --git a/PyNutil/io/read_and_write.py b/PyNutil/io/read_and_write.py index 758429617d15dac4d0efbcc0d7e5a95f4302e3d0..0487e0bf7b55a23d607b27fdf2a9b5161212e8aa 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_quint_json(filename, apply_damage_mask=True): +def load_quint_json(filename): """ Reads a VisuAlign JSON file (.waln or .wwrp) and extracts slice information. Slices may include anchoring, grid spacing, and other image metadata. diff --git a/PyNutil/processing/coordinate_extraction.py b/PyNutil/processing/coordinate_extraction.py index aecf1585789ea10014c52f2ea5ba680e9316dfc3..f3c041b79de59f22872851599db1f17ec62634bc 100644 --- a/PyNutil/processing/coordinate_extraction.py +++ b/PyNutil/processing/coordinate_extraction.py @@ -134,7 +134,7 @@ def folder_to_atlas_space( Returns: tuple: Various arrays and lists containing transformed coordinates and labels. """ - quint_json = load_quint_json(quint_alignment, apply_damage_mask) + quint_json = load_quint_json(quint_alignment) slices = quint_json['slices'] if apply_damage_mask and "gridspacing" in quint_json: gridspacing = quint_json["gridspacing"]