Skip to content

Sandbox for developing sed scripts to update MESA inlists to new PGstar arrays

License

Notifications You must be signed in to change notification settings

warrickball/sed-pgstar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sed-pgstar

A sandbox where I try to devise the appropriate sed commands to update any MESA inlist for the upcoming changes to the PGstar controls.

  • test_input.txt contains some example input controls. This aims to cover controls that have changed and a few that haven't but might accidentally get changed by a sed command.

  • expected_output.txt contains the output that test_input.txt should be replaced by. This is curated manually as a reference for what the sed commands should do.

  • run.sh is a script that runs some sed commands on the file in the first argument and diffs the output relative to the file in the second argument to see if we're doing things right.

About

Sandbox for developing sed scripts to update MESA inlists to new PGstar arrays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages