Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Gaudi Gaudi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 120
    • Issues 120
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GaudiGaudi
  • GaudiGaudi
  • Merge requests
  • !1197

Fix handling of properties for tuples and arrays of size 1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Marco Clemencic requested to merge clemenci/Gaudi:fix-tuple-property into master Apr 01, 2021
  • Overview 5
  • Commits 7
  • Pipelines 1
  • Changes 7

two issues were involved:

  • the code of the corresponding Python Configurables was not correct (producing (1) instead of (1,))
  • the parser was not able to understand something like (1,) (see #21 (closed))

I modified the parser to accept trailing commas in sequences (tuples, vectors and maps) and I modified Gaudi::Utils::toStream to add the trailing comma for size 1 tuples and arrays.

This may cause changes in the standard output.

Closes #21 (closed)

Edited Apr 01, 2021 by Marco Clemencic
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-tuple-property