rice-solar-physics / pydrad

Python tools for setting up HYDRAD runs and parsing output
https://pydrad.readthedocs.io
MIT License
4 stars 3 forks source link

Simplify `run_shell_command` function #162

Closed wtbarnes closed 1 year ago

wtbarnes commented 1 year ago

This function should just take a path and then split up the path to the script to run and the current working directory. It should also check that the file permissions are correct before trying to run the command. This will help clean up a lot of the code used when compiling and running in the Configure object.