cloudy-astrophysics / bug-tracker-migration-test

Trial run for importing the nublado.org Trac tickets as GitHub issues
0 stars 0 forks source link

blends.ini (trac #428) #430

Open cloudy-bot opened 5 years ago

cloudy-bot commented 5 years ago

reported by: @CloudyLex

There is a serious problem with the blends.ini file which we use to add blends to the code. We want to add the following definition of total Fe Ka and this should add an entry "Blnd" 1.8A

set blend 1.8 quiet
"FeKa"      1.78000A        # total intensity of K-alpha line
"Fe26"      1.78177A        # H-like, 1 3,   1^2S -   2^2P
"Fe25"      1.85951A        # He-like, 1 5,   1^1S -   2^3P_1
"Fe25"      1.85541A        # He-like, 1 6,   1^1S -   2^3P_2
"Fe25"      1.85040A        # He-like, 1 7,   1^1S -   2^1P_1
"Fe25"      1.86819A        # He-like, 1 2,   1^1S -   2^3S
end

run the following input includes adds SAVE LINE LABELS to save the list of lines.

test
save line labels "test.txt"

the blend is not present in the line labels file test.txt.

if we remove "FeKa" then the blend is present

so the FeKa component causes the blend logic to silently fail

I

Migrated from https://www.nublado.org/ticket/428

{
    "status": "new",
    "changetime": "2019-09-13T18:48:23Z",
    "_ts": "1568400503715285",
    "description": "There is a serious problem with the blends.ini file which we use to add blends to the code.  We want to add the following definition of total Fe Ka and this should add an entry \"Blnd\" 1.8A\n\n{{{\nset blend 1.8 quiet\n\"FeKa\"      1.78000A\t\t# total intensity of K-alpha line\n\"Fe26\"      1.78177A\t\t# H-like, 1 3,   1^2S -   2^2P\n\"Fe25\"      1.85951A\t\t# He-like, 1 5,   1^1S -   2^3P_1\n\"Fe25\"      1.85541A\t\t# He-like, 1 6,   1^1S -   2^3P_2\n\"Fe25\"      1.85040A\t\t# He-like, 1 7,   1^1S -   2^1P_1\n\"Fe25\"      1.86819A\t\t# He-like, 1 2,   1^1S -   2^3S\nend\n}}}\n\nrun the following input includes adds SAVE LINE LABELS to save the list of lines.  \n{{{\ntest\nsave line labels \"test.txt\"\n}}}\nthe blend is not present in the line labels file test.txt.\n\nif we remove \"FeKa\" then the blend is present\n\nso the FeKa component causes the blend logic to silently fail\n\nI",
    "reporter": "gary",
    "cc": "",
    "resolution": "",
    "time": "2019-09-13T18:48:23Z",
    "component": "input parser",
    "summary": "blends.ini",
    "priority": "blocker",
    "keywords": "",
    "version": "",
    "milestone": "no milestone",
    "owner": "nobody",
    "type": "defect - wrong answer"
}