Skip to content

Commit

Permalink
update: store Path instead of str for external entries in MaskRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
synchon committed Dec 16, 2024
1 parent 44d61cd commit a843fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions junifer/data/masks/_masks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit a843fee

Please sign in to comment.