Skip to content

Commit 8ebee3d

Browse files
committed
Add inline comments before ad-hoc validation
1 parent b1c76b7 commit 8ebee3d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/validate_upstream_examples.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def main():
3030
example_file = args.path
3131
# Parse and validate YAML data from file
3232
lattice = load(example_file)
33+
# The following assertions are based on the upstream PALS example file
34+
# fodo.pals.yaml from pals-project/pals/examples
3335
assert isinstance(lattice.facility[0], Drift)
3436
assert lattice.facility[0].name == "drift1"
3537
assert isinstance(lattice.facility[1], Quadrupole)

0 commit comments

Comments
 (0)