Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML syntax error checking #268

Open
EdAtkin opened this issue Jan 6, 2025 · 0 comments
Open

YAML syntax error checking #268

EdAtkin opened this issue Jan 6, 2025 · 0 comments
Labels
Bug Fix Something isn't working

Comments

@EdAtkin
Copy link
Contributor

EdAtkin commented Jan 6, 2025

Describe the bug

Error in YAML syntax is not necessarily flagged in KinematicCuts in Systmatics Yaml

To Reproduce

Steps to reproduce the behaviour:

  1. Go to your Systematics.yaml
  2. Look at KinematicCuts
  3. Put bad syntax under KinmaticCuts e.g.
KinamaticCuts:
 -TrueNeutrinoEnergy: [0.5, 1.0]`

where it should be :

KinamaticCuts:
 - TrueNeutrinoEnergy: [0.5, 1.0]
  1. TrueNeutrinoEnergy will not be properly picked up.

Additional context

There may be some other checks that are supported by yaml-cpp inherently.

@EdAtkin EdAtkin added the Bug Fix Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant