labscript-suite-temp-2 / labscript_utils

Shared modules used by the labscript suite. Includes a graphical exception handler, debug tools, configuration management, cross platform filepath conversions, unit conversions and custom GUI widgets.
Other
0 stars 0 forks source link

Encapsulate running external programs #20

Open philipstarkey opened 6 years ago

philipstarkey commented 6 years ago

Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


Opening an HDF5 file or text file should be done with common functions in labscript_utils rather than code duplication across each program that does it.

If there is an error or no external program is configured in labconfig, this function should be able to pop up a dialog prompting the user to pick a text editor or help it find the path to HDFview (or prompting them to install HDFview). It should then write their choice to labconfig.

philipstarkey commented 6 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).