bertrandplez / Turbospectrum_NLTE

Turbospectrum v20 with NLTE capability
GNU General Public License v3.0
17 stars 3 forks source link

case insensitive comparison #5

Closed EkaterinaSe closed 3 years ago

EkaterinaSe commented 3 years ago

Hi @bertrandplez I've got a small feature request Is it possible to make the following string comparison case insensitive?

bsyn.f: ~ line 950 if (aname(iel).ne.nlte_specname) then

since MULTI is case insensitive and I just got the following error

Bsyn: NLTE species is Fe but model atom is for FE ERROR I find it misleading in a way

It seems like there's no direct function to convert to lower/upper case and I don't want to drag extra libraries into TS, so I decided to ask you first

bertrandplez commented 3 years ago

Hi,

sure I'll do it today. Cheers, Bertrand

On 19 Apr 2021, at 10:58, EkaterinaSe @.***> wrote:

Hi @bertrandplez https://github.com/bertrandplez I've got a small feature request Is it possible to make the following string comparison case insensitive?

bsyn.f: ~ line 950 if (aname(iel).ne.nlte_specname) then

since MULTI is case insensitive and I just got the following error

Bsyn: NLTE species is Fe but model atom is for FE ERROR I find it misleading in a way

It seems like there's no direct function to convert to lower/upper case and I don't want to drag extra libraries into TS, so I decided to ask you first

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bertrandplez/Turbospectrum2020/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHGUWQRACN6UF4J2CNGFFTDTJPWDXANCNFSM43FMJPNQ.