Skip to content

Too many commas in repr of linear transform #3834

Description

@jl-wynen

The str repr of linear transforms has too many commas. See, e.g., from the docs:

>>> import numpy as np
>>> import scipp as sc
>>> identity = sc.spatial.linear_transform(value=np.identity(3))
>>> identity
<scipp.Variable> ()  linear_transform3  [dimensionless]  ((1, 0, 0), , (0, 1, 0), , (0, 0, 1), )

Should also check other transforms.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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