Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blends.ini (trac #428) #430

Open
cloudy-bot opened this issue Sep 13, 2019 · 0 comments
Open

blends.ini (trac #428) #430

cloudy-bot opened this issue Sep 13, 2019 · 0 comments

Comments

@cloudy-bot
Copy link
Collaborator

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant