We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969ffe5 commit a0dcb5dCopy full SHA for a0dcb5d
latticejson/convert.py
@@ -108,7 +108,7 @@ def to_madx(latticejson: dict) -> str:
108
elements = latticejson["elements"]
109
sub_lattices = latticejson["sub_lattices"]
110
111
- strings = [f"TITLE, \"{latticejson['name']}\""]
+ strings = [f"TITLE, \"{latticejson['name']}\";"]
112
element_template = "{}: {}, {};".format
113
for name, (type_, attributes) in elements.items():
114
attrs = ", ".join(f"{JSON_TO_MADX[k]}={v}" for k, v in attributes.items())
0 commit comments