Skip to content

Use properties to set values in Info #7818

@cbrnr

Description

@cbrnr

As I've mentioned in #7816 I think it would be more intuitive if users could just set values in the Info dict using simple assignments, e.g. info['meas_date'] = None, instead of setter methods (e.g. info.set_meas_date(None)). This is consistent with values that we currently allow to be set directly, e.g. info["bads"] = [].

This would also allow us to make read-only properties for fields which users should not set manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions