MESAHub / MESAHub/mesa

shMESA extras not copying the contents of the RSE template properly

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

Description

- A minor bug, but shMESA does not copy the contents of the RSE template to the working directory.
- It appears to be a simple spacing issue on line 294 of $MESA_DIR/scripts/shmesa/shmesa
- perl -i -pe "s| include 'standard_run_star_extras.inc'|$contents|g" "$rse"
- should become...
- perl -i -pe "s|\s*include 'standard_run_star_extras.inc'|$contents|g" "$rse"
- this makes the replacement independent of how many spaces are in the string being replaced

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.