Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S saqc_archived
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • 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
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • RDMRDM
  • saqc_archived
  • Merge requests
  • !1

New meta parser

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Bert Palm requested to merge newMetaParser into master Oct 18, 2019
  • Overview 2
  • Commits 247
  • Pipelines 1
  • Changes 44

To parse options before the actual tests. The options are parsed to a dict and are available in core (so far). The options are intruduced by the OPTIONS: keyword. The tests by the TESTS: kw. If both are missing, we fall back to plain old-style parsing as it was before.

next steps: where to put options?

  • i prefere a global dict, like pandas also do
  • also merging it with the **kwargs passed to the functions is a possible, but feels a bit clumsy..

example meta.csv:

OPTIONS:
datetimeformat: %d.%m.%Y %H:%M:%S
plot: all

TESTS:
headerout,date start,date end,assign,Flag_1
temp,,,,"range, {min: -15.0, max: 15, plot: True}"
temp,,,,"range, {min: -10.0, max: 10, flag: DOUBTFUL, plot: True}"
temp,,,,"range, {min: -3.0, max: 3, flag: OK, plot: True}"
temp,,,,"generic, {func: ismissing(this), plot: True}"
temp,,,,"range, {min: -30.0, max: 30, plot: True}"
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: newMetaParser