OPAL-T: Error handling
In case of missing SELECTION of the beamline and TRACK command (I merged two input files and I forgot to copy those two lines)
SELECT, LINE=BEAMLINE_G3_LA2_LD;
TRACK, LINE=BEAMLINE_G3_LA2_LD, BEAM=BEAM_G3_LA2_LD,
this is the error message that appears:
OPAL>
OPAL> *** Parse error detected by function "OpalParser::parseEnd()"
OPAL> *** in line 51 of file "TestShort.in" before token ",":
OPAL> MAXSTEPS=5e+08,DT=1*PICOSECONDS,ZSTOP=34.4;
OPAL> Syntax error (maybe missing comma or semicolon ? )
OPAL>
Maybe mentioning that the TRACK command is missing would be better and easier to find the problem.