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

jobsub: improved auto-naming of config files

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jens Kroeger requested to merge jekroege/corryvreckan:jobsub_improved_naming into master Oct 11, 2019
  • Overview 23
  • Commits 16
  • Pipelines 12
  • Changes 2

This closes #57 (closed).

Previously, each line of the csv file corresponded to one job. The problem was when analysing one run multiple times, one had to fill multiple lines in the csv file like this:

RunNumber, MyParameter
100, 10ns
100, 12ns
100, 14ns

which was translated into config files like

run100_0.conf
run100_1.conf
run100_2.conf

where _0 was just an iterative number (and more problematically was overridden when re-running only a subset of the above runs for example).

This MR introduces the following new/improved syntax for the csv file:

  • "{10,12-14}" translates to 10, 12, 13, 14 in consecutive jobs for the same run number
  • "{10ns, 20ns}" tranlates to 10ns, 20ns in consecutive jobs for the same run number
  • "string,with,comma" translates to string,with,comma
  • \ as escape character such that also " can be part of the string

and the config files are then named like this (in case of example 2):

run100_parameter10ns.conf
run100_parameter20ns.conf

However, the usage of a range or set of parameters via {} is only possible for on parameter in each run.

To Do:

  • run some more tests
  • update README on how to use it
Edited Oct 11, 2019 by Jens Kroeger
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jobsub_improved_naming