Page 1 of 1

get_param_name() error

Posted: 10 Oct 2016, 11:03
by ChristinaJ
It seems like I have a parsing error on a lattice file:

Code: Select all

get_param_name(): no parameter name found in string H0DRIFT020:DRIF
The lattice file looks like this, where only the drift triggers the error

Code: Select all

H0B0BPMP010: MARK, FITPOINT=1	
H0Drift020:  DRIF, L=0.882	
H0B0BPMP020: MARK, FITPOINT=1	
Any ideas as to why there is only a problem with the drift and not the markers? Am I just missing something obvious?

Thanks for reading,
Christina

Re: get_param_name() error

Posted: 10 Oct 2016, 11:36
by michael_borland
Christina,

My guess is that there is a non-printing character in the definition of the drift space. When I copy your text, I don't see a problem. Try deleting that entry and retyping it.

--Michael

Re: get_param_name() error

Posted: 10 Oct 2016, 12:28
by ChristinaJ
Hi Michael,

That was the first thing I thought, but re-typing didn't help. I did manage to solve it though, by using a different editor.

Thanks,
Christina