From a843fee825454e4d25836abeaab7c1ec7f69a74f Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Mon, 16 Dec 2024 18:20:53 +0100 Subject: [PATCH] update: store Path instead of str for external entries in MaskRegistry --- junifer/data/masks/_masks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/junifer/data/masks/_masks.py b/junifer/data/masks/_masks.py index b2ad54ba1..97539005f 100644 --- a/junifer/data/masks/_masks.py +++ b/junifer/data/masks/_masks.py @@ -326,13 +326,13 @@ def register( logger.info(f"Registering mask: {name}") # Add mask info self._external[name] = { - "path": str(mask_path.absolute()), + "path": mask_path, "family": "CustomUserMask", "space": space, } # Update registry self._registry[name] = { - "path": str(mask_path.absolute()), + "path": mask_path, "family": "CustomUserMask", "space": space, }