We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c76b7 commit 8ebee3dCopy full SHA for 8ebee3d
1 file changed
tests/validate_upstream_examples.py
@@ -30,6 +30,8 @@ def main():
30
example_file = args.path
31
# Parse and validate YAML data from file
32
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
35
assert isinstance(lattice.facility[0], Drift)
36
assert lattice.facility[0].name == "drift1"
37
assert isinstance(lattice.facility[1], Quadrupole)
0 commit comments