Skip to content

Commit cfe45e8

Browse files
committed
Update test
1 parent b39c90e commit cfe45e8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

examples/test_external_examples.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import argparse
22

3-
from pals import Lattice
3+
from pals import load
44

55

66
def main():
@@ -14,7 +14,8 @@ def main():
1414
args = parser.parse_args()
1515
example_file = args.path
1616
# Parse and validate YAML data from file
17-
Lattice.from_file(example_file)
17+
lattice = load(example_file)
18+
print(lattice.facility[0])
1819

1920

2021
if __name__ == "__main__":

0 commit comments

Comments
 (0)