Opened 6 years ago

Last modified 5 years ago

#207 new enhancement

retain case sensitivity when reading emission line labels within input stream?

Reported by: Gary J. Ferland Owned by: nobody
Priority: major Milestone:
Component: input parser Version: trunk
Keywords: Cc:


the attached sim behaves differently in c08 vs c10 and trunk. C08 respected the case that was specified in the line following the "punch line emissivity" command while c10 and later change case to caps.

run and compare the line labels in the header in caps.emis with the labels specified in

parsing occurs at save_line.cpp:77. apparently c_str returns CAP'D version of input??

Attachments (1) (219 bytes) - added by Gary J. Ferland 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Gary J. Ferland

Attachment: added

comment:1 Changed 6 years ago by rjrw

The example given is internally inconsistent:

punch last lines emissivity ".emis"
H  1  4861
He 1  3820
AR 3  5192
end of lines
  • in one case the chemical symbol is given, in the other a capitalized form of it.

comment:2 in reply to:  1 Changed 6 years ago by rjrw

r5217 (on trunk) now parses both cases with Parser::getLineID to ensure consistency.

comment:3 Changed 5 years ago by Ryan Porter

Milestone: C10 release

Removing stale milestone.

Note: See TracTickets for help on using tickets.