labscript-suite / runmanager

𝗿𝘂𝗻𝗺𝗮𝗻𝗮𝗴𝗲𝗿 is an intuitive graphical interface for controlling 𝘭𝘢𝘣𝘴𝘤𝘳𝘪𝘱𝘵 𝘴𝘶𝘪𝘵𝘦 experiments. Includes multi-dimensional parameter scans and a remote programming interface for automation.
http://labscriptsuite.org
Other
3 stars 45 forks source link

More comprehensive presentation of fresh environment for compilation #77

Closed chrisjbillington closed 4 years ago

chrisjbillington commented 4 years ago

Follow the same mechanism as lyse/analysis_subprocess.py to create a proper module object for the user's experiment script, inserting it into sys.modules as the __main__ module and clearing its globals dict between shots.

Fixes labscript-suite/labscript-devices#43