├── .github └── workflows │ ├── main.yml │ └── publish.yml ├── .gitignore ├── LICENSE ├── README.md ├── conftest.py ├── latticejson ├── __about__.py ├── __init__.py ├── cli.py ├── convert.py ├── elegant.lark ├── exceptions.py ├── format.py ├── io.py ├── madx.lark ├── map.json ├── migrate.py ├── parse.py ├── schema.json ├── utils.py └── validate.py ├── setup.py └── tests ├── data ├── example.json ├── fodo.json ├── fodo.lte ├── fodo.madx ├── nested_reversed_lattice.lte ├── scratch.lte └── test_undefined.json ├── test_convert.py ├── test_parser.py ├── test_utils.py └── test_validate.py /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/README.md -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/conftest.py -------------------------------------------------------------------------------- /latticejson/__about__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/__about__.py -------------------------------------------------------------------------------- /latticejson/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/__init__.py -------------------------------------------------------------------------------- /latticejson/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/cli.py -------------------------------------------------------------------------------- /latticejson/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/convert.py -------------------------------------------------------------------------------- /latticejson/elegant.lark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/elegant.lark -------------------------------------------------------------------------------- /latticejson/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/exceptions.py -------------------------------------------------------------------------------- /latticejson/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/format.py -------------------------------------------------------------------------------- /latticejson/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/io.py -------------------------------------------------------------------------------- /latticejson/madx.lark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/madx.lark -------------------------------------------------------------------------------- /latticejson/map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/map.json -------------------------------------------------------------------------------- /latticejson/migrate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/migrate.py -------------------------------------------------------------------------------- /latticejson/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/parse.py -------------------------------------------------------------------------------- /latticejson/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/schema.json -------------------------------------------------------------------------------- /latticejson/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/utils.py -------------------------------------------------------------------------------- /latticejson/validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/latticejson/validate.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/example.json -------------------------------------------------------------------------------- /tests/data/fodo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/fodo.json -------------------------------------------------------------------------------- /tests/data/fodo.lte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/fodo.lte -------------------------------------------------------------------------------- /tests/data/fodo.madx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/fodo.madx -------------------------------------------------------------------------------- /tests/data/nested_reversed_lattice.lte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/nested_reversed_lattice.lte -------------------------------------------------------------------------------- /tests/data/scratch.lte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/scratch.lte -------------------------------------------------------------------------------- /tests/data/test_undefined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/data/test_undefined.json -------------------------------------------------------------------------------- /tests/test_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/test_convert.py -------------------------------------------------------------------------------- /tests/test_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/test_parser.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobeam/latticejson/HEAD/tests/test_validate.py --------------------------------------------------------------------------------