Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • SUNSET SUNSET
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • 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
  • Earth SciencesEarth Sciences
  • SUNSETSUNSET
  • Merge requests
  • !103

Fixes bugs in divide_recipe() to avoid unnecessary duplication of variables and ensure that the 'Datasets' section of the atomic recipe has the correct structure

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged vagudets requested to merge dev-fix_divide_recipe into master Nov 10, 2023
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

When trying to split a recipe, if the elements to be split (Variable, Dataset, etc) were not inside a list, the splitting was not performed correctly, causing duplicated atomic recipes, and atomic recipes with wrong formatting that resulted in errors during the workflow.

The changes in divide_recipe() fix this by detecting if the elements is not a list and transforming it to one prior to splitting.

Edited Nov 13, 2023 by vagudets
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev-fix_divide_recipe