You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the spirit of only executing the code you need, and not putting fairly unrelated types of code together, I propose splitting labscript_devices further. Each LabscriptDeviceClassName.py in there should become LabscriptDeviceClassName/__init__.py and the BLACS tab and runviewer parsers should each be put in their own files too, named something like BLACS_tab and runviewer_parser or something. These filenames would be required in order for the classes to be found by BLACS and runviewer.
The interfaces to getting these classes would not change under this proposal, and so it would be backward compatible with the programs that use them.
It would still be:
from labscript_devices.LabscriptDeviceClassName import LabscriptDeviceClassName
for labscript, and still
labscript_devices.get_BLACS_tab and labscript_devices.get_runviewer_parser
for BLACS and runviewer
The text was updated successfully, but these errors were encountered:
Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).
In the spirit of only executing the code you need, and not putting fairly unrelated types of code together, I propose splitting
labscript_devices
further. EachLabscriptDeviceClassName.py
in there should becomeLabscriptDeviceClassName/__init__.py
and the BLACS tab and runviewer parsers should each be put in their own files too, named something likeBLACS_tab
andrunviewer_parser
or something. These filenames would be required in order for the classes to be found by BLACS and runviewer.The interfaces to getting these classes would not change under this proposal, and so it would be backward compatible with the programs that use them.
It would still be:
for labscript, and still
labscript_devices.get_BLACS_tab
andlabscript_devices.get_runviewer_parser
for BLACS and runviewer
The text was updated successfully, but these errors were encountered: