get_param_name() error

Moderators: cyao, michael_borland

Post Reply
ChristinaJ
Posts: 7
Joined: 07 Jan 2013, 10:36

get_param_name() error

Post by ChristinaJ » 10 Oct 2016, 11:03

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

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

Re: get_param_name() error

Post by michael_borland » 10 Oct 2016, 11:36

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

ChristinaJ
Posts: 7
Joined: 07 Jan 2013, 10:36

Re: get_param_name() error

Post by ChristinaJ » 10 Oct 2016, 12:28

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

Post Reply