MikeDacre / fyrd

Submit functions and shell scripts to torque and slurm clusters or local machines using python.
https://fyrd.science
MIT License
22 stars 8 forks source link

Auto update Job scripts when attributes are changed until files are already written. #4

Open MikeDacre opened 8 years ago

MikeDacre commented 8 years ago

Right now jobs scripts are created by init. They should be stored in a format that allows them to be updated at any time prior to submission. i.e. changing the 'cores' keyword will update the script.

The best way to do this will be to move the string formatting into a write_script method of the Job.Script class that can be called any time to overwrite the current scripts.

MikeDacre commented 7 years ago

Fixed in 0.6.2