Skip to content

[BUG] Default config name is used when saving config from napari plugin #389

@quantumjot

Description

@quantumjot

When exporting the config from the napari plugin, the default config name is used, which means it cannot be loaded until it has been renamed.

167 if config_name in self.configs and not overwrite:
    168     _msg = (
    169         f"Config '{config_name}' already exists - "
    170         "config names must be unique."
    171     )
--> 172     raise ValueError(_msg)
        _msg = "Config 'cell' already exists - config names must be unique."
    174 self.configs[config_name] = config
    176 return config_name

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions