MESAHub / MESAHub/mesa

rate_list.txt overrules star_job command

Open
#849 0 comments 0 reactions 1 assignee Claimed by @Debraheem View on GitHub
bug
Dominant language
Fortran
Stars
249
Forks
82
Avg merge
1d 3h
Merged PRs (30d)
3

Description

**Describe the bug**
When replacing a reaction rate via the star_job and not including the same table in rate_list.txt, rate_list.txt overrules the star_job command.

**To Reproduce**
This is what goes into the rate_list.txt.
rate name file name
r_n14_pg_o15 'n14_p_to_gamma_o15.txt'
If the name of the file is not the same as for the star_job command below, the rate_list.txt overrules the star_job and as such you might not be using the rate you'd like to use.
!#n14_p_to_gamma_o15
reaction_for_special_factor(24) = 'r_n14_pg_o15'
special_rate_factor(24) = 1
filename_of_special_rate(24) = 'n14_p_to_gamma_o15.txt'

**Expected behavior**
star_job overrules the rate_list.txt because the star_job is, at least to me, the more intuitive place to change the name of the table.

**Version**
22.11.1 and 24.08.1, maybe other versions as well.

**Additional context**
Because there are two commands that do the exact same thing, it gets somewhat confusing what to use when someone wants to change a rate. Apparently it is enough to just use the rate_list.txt locally to change the rate table used for specific rates, but there are also the star_job commands to change the factors. This is not entirely clear from the documentation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.