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

Fix the issue about number of inputs/outputs in experiment editor

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Flavio TARSETTI requested to merge 257_experiment_editor_io_number_bug into master Jun 02, 2020
  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 1

Summary

This issue was a broader issue related to the numbering of inputs/outputs in the IOMapping of the experiment editor. The inputs/outputs layout can contain multiple elements such as label or object from a list in a specific row.

Tricking this by substracting -1 to the number of elements only works when the number of input/output is 1. However from row 2 and later the number of elements per row (2) gets multiplied by the number of rows and the bug lies around that calculation.

Only looking at the number of rows (containing a single input or output) gives us the correct number of inputs and outputs.

Relevant issue(s) fixed

Fixes #257 (closed)

Edited Jun 02, 2020 by Flavio TARSETTI
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 257_experiment_editor_io_number_bug