diff --git a/bluesky/ui/qtgl/glhelpers.py b/bluesky/ui/qtgl/glhelpers.py index 28032ce450..3075d3272f 100644 --- a/bluesky/ui/qtgl/glhelpers.py +++ b/bluesky/ui/qtgl/glhelpers.py @@ -325,11 +325,10 @@ def select(self): def update_ubo(self, uboname, *args, **kwargs): ''' Update an uniform buffer object of this shader set. ''' ubo = self._ubos.get(uboname, None) - if not ubo: + if ubo is None: raise KeyError('Uniform Buffer Object', uboname, 'not found in shader set.') ubo.update(*args, **kwargs) - def set_shader_path(self, shader_path): ''' Set a search path for shader files. ''' self._spath = shader_path diff --git a/bluesky/ui/qtgl/mainwindow.py b/bluesky/ui/qtgl/mainwindow.py index 356a872261..c0add62d64 100644 --- a/bluesky/ui/qtgl/mainwindow.py +++ b/bluesky/ui/qtgl/mainwindow.py @@ -325,7 +325,7 @@ def serversChanged(self, server_id): def nodesChanged(self, node_id): if node_id not in self.nodes: - print(node_id, 'added to list') + #print(node_id, 'added to list') server_id = node_id[:-1] + seqidx2id(0) if server_id not in bs.net.servers: server_id = b'0' diff --git a/setup-python.bat b/setup-python.bat index 5ecba6ec16..5ec7b78922 100644 --- a/setup-python.bat +++ b/setup-python.bat @@ -1,4 +1,2 @@ -pip install PyQt6 numpy scipy matplotlib -pip install pandas pyopengl -pip install msgpack zmq pygame pyqtwebengine +pip install PyQt6 PyQt6-WebEngine pygame pyopengl numpy scipy pandas matplotlib msgpack zmq textual bluesky-simdata bluesky-guidata pause