labscript-suite / labscript

The 𝗹𝗮𝗯𝘀𝗰𝗿𝗶𝗽𝘁 library provides a translation from expressive Python code to low-level hardware instructions.
http://labscriptsuite.org
BSD 2-Clause "Simplified" License
9 stars 53 forks source link

Better catch when vcs programs not installed. #86

Closed chrisjbillington closed 1 year ago

chrisjbillington commented 2 years ago

Check if vcs commands exist before running commands. Cache the result so that the check doesn't happen for every file (if the user installs git or hg, they will need to restart runmanager or the compiler subprocess for saving of vcs info to start working).

Should address https://github.com/labscript-suite/labscript-suite/issues/66

dihm commented 1 year ago

Another old PR that should have been merged a long time ago. Looks fine to me.