Describe the bug
When using a custom reaction table for the r_co59_wk_fe59 and / or r_fe59_wk-minus_co59 via a weak_rate_list.txt file, MESA still uses (or at least outputs to cache) the default _1.bin rate for each reaction.
My suspicion is that since the custom_rates test suite modifies the weak rates r_n14_wk_c14 and r_c14_wk-minus_n14, which are not in REACLIB, they are not overwritten. But, for weak rates which exist in REACLIB, somewhere the user rate is overwritten?
Sharing this here incase it is not a bug and someone with better knowledge of the rates module can help me track down the issue.
My best guess is that potentially this commit needs to be modified to respect already defined weak custom rates.
To Reproduce
Steps to reproduce the behavior:
- Run a model with current release.
- Provide a custom rate table
rate_list.txt and weak_rate_list.txt.
- If the custom weak rate exists in REACLIB, it will be ignored for the default.
Expected behavior
The users custom rate should be used and not overwritten. Either the forward rate, reverse from detailed balance, or both.
Describe the bug
When using a custom reaction table for the
r_co59_wk_fe59and / orr_fe59_wk-minus_co59via aweak_rate_list.txtfile, MESA still uses (or at least outputs to cache) the default_1.binrate for each reaction.My suspicion is that since the
custom_ratestest suite modifies the weak ratesr_n14_wk_c14andr_c14_wk-minus_n14, which are not in REACLIB, they are not overwritten. But, for weak rates which exist in REACLIB, somewhere the user rate is overwritten?Sharing this here incase it is not a bug and someone with better knowledge of the rates module can help me track down the issue.
My best guess is that potentially this commit needs to be modified to respect already defined weak custom rates.
To Reproduce
Steps to reproduce the behavior:
rate_list.txtandweak_rate_list.txt.Expected behavior
The users custom rate should be used and not overwritten. Either the forward rate, reverse from detailed balance, or both.