We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b39c90e commit cfe45e8Copy full SHA for cfe45e8
1 file changed
examples/test_external_examples.py
@@ -1,6 +1,6 @@
1
import argparse
2
3
-from pals import Lattice
+from pals import load
4
5
6
def main():
@@ -14,7 +14,8 @@ def main():
14
args = parser.parse_args()
15
example_file = args.path
16
# Parse and validate YAML data from file
17
- Lattice.from_file(example_file)
+ lattice = load(example_file)
18
+ print(lattice.facility[0])
19
20
21
if __name__ == "__main__":
0 commit comments