Skip to content

Saving Isomer '*' Flag for flagged_num_to_int() plotting function - #302

Closed
eitan-weinstein wants to merge 1 commit into
svalinn:mainfrom
eitan-weinstein:retaining_isomer_star
Closed

Saving Isomer '*' Flag for flagged_num_to_int() plotting function#302
eitan-weinstein wants to merge 1 commit into
svalinn:mainfrom
eitan-weinstein:retaining_isomer_star

Conversation

@eitan-weinstein

Copy link
Copy Markdown
Contributor

This PR modifies the function xs_plotting.flagged_num_to_int() to additionally return a string of all of the '*' isomer flags in the value passed through it. For example, the input '4*' would return two values: (4, '*'). Likewise, an input without any '*' values will return an empty string for the isomer_flag return value.

The motivation behind this is to be able to retain the distinction between MT values in which there may be present anywhere from 0-2 '*' flags for a given target nuclide. Without this update, all of these distinct reactions would be improperly characterized by only the star-less MT.

@eitan-weinstein
eitan-weinstein marked this pull request as draft July 15, 2026 15:28
@gonuke

gonuke commented Jul 30, 2026

Copy link
Copy Markdown
Member

Is this now incorporated into #305? Do we still need this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants