comment ignored in lattice definition

Moderators: michael_borland, soliday

Post Reply
petrenko
Posts: 43
Joined: 09 Jun 2008, 02:53
Contact:

comment ignored in lattice definition

Post by petrenko » 12 Sep 2008, 11:06

This line in lattice definition for some reason is not treated as a comment:

!QT_M : MULTIPOLE,K1L=0.298914

Elegant says:
...
Error: unknown parameter K1L used for !QT_M MULT (parse_element)
valid parameters are:L (0.0000000000000000 M)
...
Attachments
SIS18.lte
(33 Bytes) Downloaded 206 times

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: comment ignored in lattice definition

Post by michael_borland » 12 Sep 2008, 13:23

The problem is the leading space. The ! character only introduces a comment when it occurs as the first character in the line.

--Michael

Post Reply