Skip to content

Bug(Line): setter method of point_columns #389

@swapneelap

Description

@swapneelap

The length of point_columns is fixed to three which is outdated now because we have n dimensional fields.

@point_columns.setter
    def point_columns(self, val):
        if len(val) != 3:
            msg = f"Cannot change column names with a list of lenght {len(val)}."
            raise ValueError(msg)

        self.data = self.data.rename(dict(zip(self.point_columns, val)), axis=1)
        self._point_columns = list(val)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions