Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pystencils pystencils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • pystencilspystencils
  • Merge requests
  • !90

Change `Field.__repr__` to match representation in `pystencils.fields`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Stephan Seitz requested to merge seitz/pystencils:Field.__repr__ into master Nov 21, 2019
  • Overview 0
  • Commits 1
  • Pipelines 6
  • Changes 1

repr of Field should look like

y: uint16_t[246,704,558]
x(3): float[20,40]

to match representation when using pystencils.fields

E.g.

In [3]: pystencils.fields('x: float32[20,40]')                                                                                                                                                                                                                                
Out[3]: x: float[20,40])

In [4]: pystencils.fields('x(3): float32[20,40]')                                                                                                                                                                                                                             
Out[4]: x(3): float[20,40])
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Field.__repr__